Issue
httpsCallable on iOS removes the JSON property if the value is null. Example:
firebase
.app()
.functions('us-central1')
.httpsCallable('test')({ arg1: null, arg2: 'arg2' })
.then();
called on android sent to firebase:
{
data: {
arg1: null,
arg2: 'arg2'
}
}
on IOS:
{
data: {
arg2: 'arg2'
}
}
Project Files
Javascript
Click To Expand
package.json:
"dependencies": {
...
"@react-native-firebase/app": "^21.11.0",
"@react-native-firebase/auth": "^21.11.0",
"@react-native-firebase/crashlytics": "^21.11.0",
"@react-native-firebase/firestore": "^21.11.0",
"@react-native-firebase/functions": "^21.11.0",
"@react-native-firebase/storage": "^21.11.0",
...
}
- Platform that you're experiencing the issue on:
react-native-firebase version you're using that has this issue:
Firebase module(s) you're using that has the issue:
- Are you using
TypeScript?
Issue
httpsCallable on iOS removes the JSON property if the value is null. Example:
called on android sent to firebase:
on IOS:
Project Files
Javascript
Click To Expand
package.json:react-native-firebaseversion you're using that has this issue:e.g. 5.4.3Firebasemodule(s) you're using that has the issue:e.g. Instance IDTypeScript?Y/N&VERSION