Closed ansmlc closed 4 months ago
Hi there - just to confirm, could you double check you've recompiled the app after adding the app.json config?
Hi, yes, if I check ios/app/Info.plist
, it has this array:
<key>LSApplicationQueriesSchemes</key>
<array>
<string>comgooglemaps</string>
<string>citymapper</string>
<string>uber</string>
<string>lyft</string>
<string>transit</string>
<string>truckmap</string>
<string>waze</string>
<string>yandexnavi</string>
<string>moovit</string>
<string>yandextaxi</string>
<string>yandexmaps</string>
<string>kakaomap</string>
<string>tmap</string>
<string>szn-mapy</string>
<string>mapsme</string>
<string>osmandmaps</string>
<string>gett</string>
<string>nmap</string>
<string>dgis</string>
<string>lftgpas</string>
</array>
I'm checking this by running a preview build on iOS device via the Expo Go app. Could this be the reason? But than again, how does it detect Waze.
Also, on Android it works fine - it detects almost all apps (except Maps.me).
Oh I see! The Expo Go app has it's own whitelist of applications - which does include Waze, but none of the others:
https://github.com/expo/expo/blob/main/apps/expo-go/ios/Exponent/Supporting/Info.plist#L75-L82
Oh I see! The Expo Go app has it's own whitelist of applications - which does include Waze, but none of the others:
https://github.com/expo/expo/blob/main/apps/expo-go/ios/Exponent/Supporting/Info.plist#L75-L82
Ohh, I had no idea. So just to confirm, to really test the lib I'll need Apple's Dev account and install the app directly on the device, right? Since on the Simulator there's no App Store so can't install any navigation apps.
So just to confirm, to really test the lib I'll need Apple's Dev account and install the app directly on the device, right?
Yes, correct! Unfortunately that's the only way I'm aware of for Apple devices.
@tschoffelen Any idea why maps.me doesn't show up on Android? All other apps show up as expected. Tested on two different Android devices.
EDIT: related issue?
I'm testing this library and I've noticed it doesn't detect all available apps. I've followed the managed expo workflow guide.
On my phone (iOS) I have following apps installed:
However, the lib only detects Apple Maps and Waze. (and Google Maps if
alwaysIncludeGoogle
istrue
).This is my code:
Screenshot