-
Notifications
You must be signed in to change notification settings - Fork 2.3k
[🐛] Module '"@react-native-firebase/app-check"' has no exported member 'ReactNativeFirebaseAppCheckProvider' #8512
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
not sure if related, but just today when updating i got a similar error for app-check
|
@lasfito - not related, I believe the app-check Expo config plugin hasn't been updated to handle Expo 53 / Swift yet @fracico-tech please include the actual code you wrote that has issues - plus versions etc - you've asked for help but deleted the template where we request the information we need to help, makes it difficult... |
@mikehardy @lasfito Getting this too on [email protected], [email protected] and @react-native-firebase/app@^22.1.0, @react-native-firebase/app-check@^22.1.0, probably an expo issue? ✖ Prebuild failed
Error: [ios.dangerous]: withIosDangerousBaseMod: Cannot add Firebase code to AppDelegate of language "swift"
at modifyAppDelegateAsync (/Users/anudit/Documents/GitHub/app/node_modules/@react-native-firebase/app-check/plugin/build/ios/appDelegate.js:69:15)
at /Users/anudit/Documents/GitHub/app/node_modules/@react-native-firebase/app-check/plugin/build/ios/appDelegate.js:77:19
at action (/Users/anudit/Documents/GitHub/app/node_modules/@expo/config-plugins/build/plugins/withMod.js:199:29)
at interceptingMod (/Users/anudit/Documents/GitHub/app/node_modules/@expo/config-plugins/build/plugins/withMod.js:104:27)
at action (/Users/anudit/Documents/GitHub/app/node_modules/@expo/config-plugins/build/plugins/withMod.js:204:14)
at async interceptingMod (/Users/anudit/Documents/GitHub/app/node_modules/@expo/config-plugins/build/plugins/withMod.js:104:21) |
There has been no PR yet for swift support for app check plugin yet, I expect it won't work until there is. Historically these Expo updates have been community driven but I merge and release them very quickly, with gratitude |
@mikehardy looks like @jeremyplt made a pr for this #8521 |
@mikehardy I really apology for not adding any example, I thought it was already exhaustive.
this import trigger the ts error: |
I'm trying to configure app check as documented, but when I import it I have the typescript error:
Module '"@react-native-firebase/app-check"' has no exported member 'ReactNativeFirebaseAppCheckProvider'. Did you mean to use 'import ReactNativeFirebaseAppCheckProvider from "@react-native-firebase/app-check"' instead?ts(2614)
It's only a typescript error, because the feature works as expected
react-native-firebase
version you're using that has this issue:21.14.0
Firebase
module(s) you're using that has the issue:AppCheck
TypeScript
?Y
&5.0.4
The text was updated successfully, but these errors were encountered: