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
I tried upgrading the library of react-native-firebase/app and react-native-firebase admob to 12.9.3 and 11.5 and then
pod install however the installation does not proceed and has this error
[!] CocoaPods could not find compatible versions for pod "Google-Mobile-Ads-SDK":
In Podfile:
Google-Mobile-Ads-SDK (= 8.8.0)
RNFBAdMob (from `../node_modules/@react-native-firebase/admob`) was resolved to 7.6.8, which depends on
Firebase/AdMob (~> 6.30.0) was resolved to 6.30.0, which depends on
Google-Mobile-Ads-SDK (~> 7.50)
Specs satisfying the Google-Mobile-Ads-SDK (= 8.8.0), Google-Mobile-Ads-SDK (~> 7.50) dependency were found, but they required a higher minimum deployment target.
Issue
I tried upgrading the library of react-native-firebase/app and react-native-firebase admob to 12.9.3 and 11.5 and then
pod install however the installation does not proceed and has this error
[!] CocoaPods could not find compatible versions for pod "Google-Mobile-Ads-SDK":
In Podfile:
Google-Mobile-Ads-SDK (= 8.8.0)
Specs satisfying the
Google-Mobile-Ads-SDK (= 8.8.0), Google-Mobile-Ads-SDK (~> 7.50)
dependency were found, but they required a higher minimum deployment target.Project Files
Javascript
Click To Expand
"dependencies": {
"@material-ui/core": "^4.12.3",
"@material-ui/icons": "^4.11.2",
"@react-native-community/async-storage": "^1.11.0",
"@react-native-community/checkbox": "^0.5.9",
"@react-native-community/datetimepicker": "^3.5.2",
"@react-native-community/netinfo": "^6.0.4",
"@react-native-community/picker": "^1.8.0",
"@react-native-community/slider": "^4.1.10",
"@react-native-community/toolbar-android": "0.2.1",
"@react-native-firebase/app": "^12.9.3",
"@react-native-firebase/admob": "^11.5.0",
"material-design-icons": "^3.0.1",
"native-base": "^3.2.1",
"nodemailer": "^6.7.0",
"prop-type": "0.0.1",
"react": "17.0.2",
"react-native": "0.66",
"react-native-calendars": "^1.1268.0",
"react-native-chart-kit": "^6.11.0",
"react-native-color-picker": "^0.6.0",
"react-native-device-info": "^8.4.1",
"react-native-elements": "^3.4.2",
"react-native-exit-app": "^1.1.0",
"react-native-fs": "^2.18.0",
"react-native-hr-component": "^2.0.3",
"react-native-image-picker": "^4.1.2",
"react-native-linear-gradient": "^2.5.6",
"react-native-mail": "^6.1.1",
"react-native-modal": "^13.0.0",
"react-native-modal-datetime-picker": "^13.0.0",
"react-native-modal-selector": "^2.1.0",
"react-native-month-selector": "^1.4.0",
"react-native-month-year-picker": "^1.8.0",
"react-native-orientation": "^3.1.3",
"react-native-paper": "^4.9.2",
"react-native-permissions": "^3.1.0",
"react-native-restart": "^0.0.22",
"react-native-screens": "^3.8.0",
"react-native-simple-toast": "^1.1.3",
"react-native-svg": "^12.1.1",
"react-native-text-input-mask": "^3.1.4",
"react-native-unimodules": "^0.14.8",
"react-native-video": "^5.2.0",
"react-native-video-controls": "^2.8.1",
"react-native-video-player": "^0.12.0",
"react-native-webview": "11.14.1",
"rn-fetch-blob": "^0.12.0"
},
"devDependencies": {
"@babel/core": "^7.15.8",
"@babel/runtime": "^7.15.4",
"@react-native-community/eslint-config": "^3.0.1",
"babel-jest": "^27.3.1",
"eslint": "^8.1.0",
"jest": "^27.3.1",
"metro-react-native-babel-preset": "^0.66.2",
"moment": "^2.29.1",
"react-native-gesture-handler": "^1.10.3",
"react-native-reanimated": "^2.2.3",
"react-native-render-html": "^6.2.0",
"react-native-sqlite-storage": "^6.0.1",
"react-native-vector-icons": "^9.0.0",
"react-navigation": "^4.4.4",
"react-navigation-drawer": "^2.7.1",
"react-navigation-stack": "^2.10.4",
"react-test-renderer": "17.0.2"
},
"jest": {
"preset": "react-native"
}
}
firebase.json
for react-native-firebase v6:{
"react-native": {
"admob_android_app_id": "ca-app-pub-xxxxxxxxx0825731
xxxxxxx615",xxxxx44129""admob_ios_app_id": "ca-app-pub-xxxxxx9590825731
}
}
iOS
Click To Expand
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
require_relative '../node_modules/react-native-unimodules/cocoapods.rb'
platform :ios, '11.0'
target 'XXXXXXXXX' do
use_unimodules!
config = use_native_modules!
pod 'react-native-text-input-mask', :path => '../node_modules/react-native-text-input-mask'
pod 'RNInputMask', :path => '../node_modules/react-native-text-input-mask/ios/InputMask'
permissions_path = '../node_modules/react-native-permissions/ios'
pod 'Permission-Camera', :path => "../node_modules/react-native-permissions/ios/Camera/Camera.podspec"
use_react_native!(
:path => config[:reactNativePath],
# to enable hermes on iOS, change
false
totrue
and then install pods:hermes_enabled => false
)
Enables Flipper.
Note that if you have use_frameworks! enabled, Flipper will not work and
you should disable the next line.
use_flipper!()
pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'
post_install do |installer|
react_native_post_install(installer)
end
end
# 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. 12.9.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: