I am trying to use "react-native-firebase-push-notifications" but when pod install or npx pod-install I am facing the below error:
[!] CocoaPods could not find compatible versions for pod "Firebase/CoreOnly": In Podfile: RNFBApp (from ../node_modules/@react-native-firebase/app`) was resolved to 11.1.1, which depends on
Firebase/CoreOnly (= 7.8.1)
react-native-firebase-push-notifications (from `../node_modules/react-native-firebase-push-notifications`) was resolved to 1.0.0, which depends on
Firebase/CoreOnly (~> 7.7.0)`
so I tried the below but nothing happened:
- pod install --repo-update
- remove podfile.lock
- remove Pods directory
Any suggestion?