Closed MaganAnkur closed 3 years ago
This can be solved by adding this to the top of your Podfile -
$ReactNativeMapboxGLIOSVersion='6.3.0'
Note that you might need to delete your Podfile.lock
file first.
This will allow you to use @react-native-mapbox-gl/maps
with this library also.
@rossmartin thanks for response, it resolved the issue
@rossmartin It would be highly appreciated if you can help me with below
After building the app its immediately crashing and seems like below is the error
assert(false, "This application’s Info.plist file must include “audio” in UIBackgroundModes. This background mode is used for spoken instructions while the application is in the background."
I was able to fix above by inputting UIBackgroundModes as key and value as audio
Glad you were able to get it figured out. I went ahead and documented UIBackgroundModes
in the readme.
After following all the steps before doing pod install
I am getting below:
[!] CocoaPods could not find compatible versions for pod "@react-native-mapbox-gl-mapbox-static": In Podfile: react-native-mapbox-gl (from
../node_modules/@react-native-mapbox-gl/maps
) was resolved to 8.1.0, which depends on @react-native-mapbox-gl-mapbox-static (~> 5.9.0)