New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃敟[馃悰] Permission errors after upgrading a function to v2 #7701
Comments
Hello 馃憢, to help manage issues we automatically close stale issues. This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
Thank you for your contributions. |
Similar to what is mentioned on #6622 I do not believe there is anything we can do here at the react-native-firebase layer No one has investigated deeply enough to say why, but there is a method that works, my advice is simply to convert to that method as quickly as possible and move on, if v2 functions and their new capabilities are a requirement |
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: