🔥[🐛] Permission errors after upgrading a function to v2 #7701
Labels
help: needs-triage
Issue needs additional investigation/triaging.
type: bug
New bug report
Type: Stale
Issue has become stale - automatically added by Stale bot
Issue
After updating one of the cloud functions in the project to v2, I started getting permission errors accessing every function, not just the v2 one. Changing the functions to httpsCallableFromUri as described in #6622 helps the situation, but the change in the behavior of the v1 functions after deployment is strange. Besides, it is very inconvenient to change all the functions to callableFromUrl just for the sake of that one v2 function support, and I'm not even sure whether it's the same issue. Are you planning full support in the future? Should I use v1 for now and wait for the updates or just go with httpsCallableFromUrl from now on?
P.S. Thank you, contributors, for making this thing; much love!
Project Files
Javascript
Click To Expand
package.json
:firebase.json
for react-native-firebase v6:iOS
Click To Expand
ios/Podfile
:AppDelegate.m
:// N/A
Android
Click To Expand
Have you converted to AndroidX?
android/gradle.settings
jetifier=true
for Android compatibility?jetifier
for react-native compatibility?android/build.gradle
:// N/A
android/app/build.gradle
:// N/A
android/settings.gradle
:// N/A
MainApplication.java
:// N/A
AndroidManifest.xml
:<!-- N/A -->
Environment
Click To Expand
react-native info
output:react-native-firebase
version you're using that has this issue:19.0.0
Firebase
module(s) you're using that has the issue:@react-native-firebase/functions
TypeScript
?Y
&4.9.5
The text was updated successfully, but these errors were encountered: