Closed jahicDario closed 5 years ago
Adding this in info.plist resolved problem:
<key>LSApplicationQueriesSchemes</key>
<array>
<string>citymapper</string>
<string>comgooglemaps</string>
<string>navigon</string>
<string>transit</string>
<string>waze</string>
<string>yandexnavi</string>
<string>uber</string>
<string>tomtomhome</string>
<string>com.sygic.aura</string>
<string>here-route</string>
<string>moovit</string>
<string>lyft</string>
<string>mapsme</string>
<string>cabify</string>
<string>baidumap</string>
<string>taxis99</string>
<string>iosamap</string>
</array>
These should've been added automatically by the postlink script when the module was linked. Did that not happen?
No it did not. Maybe you could add this to documentation as additional check after installation, because I lose a lot of time to debug this :)
Just a note that on React Native 0.61.5
using autolinking (running pod install
after the npm install) I didn't get the entries in my info.plist
either.
I'm submitting a ... (check one with "x"):
Bug report
Current behavior:
Can not get available apps for ios, tried with next version of react native: react": "16.6.3", "react-native": "0.57.8", "react-native-launch-navigator": "^1.0.4"
Even navigate method return error when I passed hardcoded value of app that is installed on phone.
Expected behavior:
getAvaiableApps or isAppAvailable should return true if app for lunching navigation is installed on phone.
Environment information
React Native version react-native-cli: 2.0.1 react-native: 0.57.8
Other React Native modules/components/tools "devDependencies": { "babel-jest": "23.6.0", "flow-bin": "^0.78.0", "jest": "23.6.0", "metro-react-native-babel-preset": "0.51.1", "patch-package": "^5.1.2", "react-test-renderer": "16.6.3", "remote-redux-devtools": "^0.5.16" },
Device details
OS details