Closed orhanoksuzz closed 4 years ago
The likely cause of this is that the script which adds the query schemes from the package.json
into the Xcode project *-Info.plist
has failed to run for some reason so the NSURLScheme
entries are not present in the plist. You can check this in Xcode and add them manually if they are missing.
The likely cause of this is that the script which adds the query schemes from the
package.json
into the Xcode project*-Info.plist
has failed to run for some reason so theNSURLScheme
entries are not present in the plist. You can check this in Xcode and add them manually if they are missing.
How to add manually? should add standard key?
<key>citymapper</key>
or
<key>What will be the key value?</key>
<array>
<string>citymapper</string>
..........
</array>
You need to add to the LSApplicationQueriesSchemes
key
The postlink hook script should add these automatically so I will test the example project with latest version of React Native to check if there has been a breaking change which has stopped the script from working.
Thanks.
It works after adding the info.plist file.
`
@orhanoksuzz feel free to mark the issue as closed if it's solved for you
Hi, The application does not see the google maps schema in iphone 7 and ios 13.1.3 version. I want to open the desired location with google maps.The screenshots of the current application are attached.
{ "name": "navigatorslaunch", "version": "0.0.1", "private": true, "scripts": { "android": "react-native run-android", "ios": "react-native run-ios", "start": "react-native start", "test": "jest", "lint": "eslint ." }, "dependencies": { "react": "16.9.0", "react-native": "0.61.5", "native-base": "^2.13.8",
}, "devDependencies": { "@babel/core": "^7.6.2", "@babel/runtime": "^7.6.2", "@react-native-community/eslint-config": "^0.0.5", "babel-jest": "^24.9.0", "eslint": "^6.5.1", "jest": "^24.9.0", "metro-react-native-babel-preset": "^0.56.0", "react-test-renderer": "16.9.0" }, "jest": { "preset": "react-native" } }