You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when I run pod install (or pod install --repo-update) I get the following error:
[!] CocoaPods could not find compatible versions for pod "Firebase/AdMob":
In Podfile:
RNFBAdMob (from ../node_modules/@react-native-firebase/admob) was resolved to 11.5.0, which depends on
Firebase/AdMob (= 8.1.1)
None of your spec sources contain a spec satisfying the dependency: Firebase/AdMob (= 8.1.1).
You have either:
mistyped the name or version.
not added the source repo that hosts the Podspec to your Podfile.
[!] NPM package '@react-native-firebase/admob' depends on '@react-native-firebase/app' v11.5.0 but found v12.1.0, this might cause build issues or runtime crashes.
[!] NPM package '@react-native-firebase/admob' depends on '@react-native-firebase/app' v11.5.0 but found v12.1.0, this might cause build issues or runtime crashes.
Project Files
Javascript
Click To Expand
package.json:
# N/A
firebase.json for react-native-firebase v6:
# N/A
iOS
Click To Expand
ios/Podfile:
I'm not using Pods
I'm using Pods and my Podfile looks like:
# N/A
AppDelegate.m:
// N/A
Android
Click To Expand
Have you converted to AndroidX?
my application is an AndroidX application?
I am using android/gradle.settingsjetifier=true for Android compatibility?
I am using the NPM package 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:
OUTPUT GOES HERE
Platform that you're experiencing the issue on:
iOS
Android
iOS but have not tested behavior on Android
Android but have not tested behavior on iOS
Both
react-native-firebase version you're using that has this issue:
e.g. 5.4.3
Firebase module(s) you're using that has the issue:
AdMob: Removed from upstream SDKs. Stay on v11.5.0 for now if you need AdMob. @invertase/react-native-admob package planned with v11.5.0 code
So you cannot upgrade your libraries past v11.5.0 while still using admob
There are still plans to release a separate admob but it's a human process (time available) and professional thing (admob is not in firebase anymore so it is prioritized behind firebase-specifc items important to the firebase ecosystem)#2355
In essence this is a duplicate of #5329 then and discussion / status is there
I appreciate the understanding while handling all the breaking changes and getting it done
Issue
So I upgraded all my firebase libraries as follows:
"@react-native-firebase/admob": "^10.1.1" -> "^11.5.0",
"@react-native-firebase/analytics": "^7.6.1" -> "^12.1.0",
"@react-native-firebase/app": "^8.4.1" -> "^12.1.0",
"@react-native-firebase/auth": "^9.1.2" -> "^12.1.0",
"@react-native-firebase/firestore": "^7.6.2" -> "^12.1.0",
"@react-native-firebase/functions": "^7.4.2" -> "^12.1.0",
"@react-native-firebase/messaging": "^7.8.4" -> "^12.1.0",
But when I run pod install (or pod install --repo-update) I get the following error:
[!] CocoaPods could not find compatible versions for pod "Firebase/AdMob":
In Podfile:
RNFBAdMob (from
../node_modules/@react-native-firebase/admob
) was resolved to 11.5.0, which depends onFirebase/AdMob (= 8.1.1)
None of your spec sources contain a spec satisfying the dependency:
Firebase/AdMob (= 8.1.1)
.You have either:
[!] NPM package '@react-native-firebase/admob' depends on '@react-native-firebase/app' v11.5.0 but found v12.1.0, this might cause build issues or runtime crashes.
[!] NPM package '@react-native-firebase/admob' depends on '@react-native-firebase/app' v11.5.0 but found v12.1.0, this might cause build issues or runtime crashes.
Project Files
Javascript
Click To Expand
package.json
:# N/A
firebase.json
for react-native-firebase v6:# N/A
iOS
Click To Expand
ios/Podfile
:# N/A
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:e.g. 5.4.3
Firebase
module(s) you're using that has the issue:e.g. Instance ID
TypeScript
?Y/N
&VERSION
React Native Firebase
andInvertase
on Twitter for updates on the library.The text was updated successfully, but these errors were encountered: