Launching URL with Google Maps info from iOS / Android

We’re getting really close to releasing out EMS app for our hospital - so thanks to everyone who has helped me out with my tons of newbie questions.

We’re starting to test it out on multiple OS’s and I’ve noticed an issue I’m hoping someone can shed some light on.

On our list of hospitals, we want them to be able to click on it and go to google maps so they can use that to navigate it.  Originally, I had it opening up the url using openurl and that seems to work.  But, they wanted it opening INSIDE the app, so I changed it to opening a webview with the same url.  When I did that, I ran into some snags.

On Android, it pulls up Google maps but can’t seem to determine location.  I have internet permissions and fine/coarse location permissions set on it but still nothing.

On iOS, it pulls up the webview but not the url.  Do I need to enable some sort of permissions in iOS?  Any ideas why this may not be working?

Any ideas on either OS or an alternate method of navigating?

Is there a reason you’re using it in a webviews as opposed to a native.newMapView()?

There are no additional permission on iOS, but you do have to include an intro in your build.settings for iOS 8.   The user also has accept using the GPS on iOS and if they turn it off, you may not get mapping services to work.

NSLocationWhenInUseUsageDescription = “This app uses maps and GPS when active.”,

Put something like that in your build.settings settings.iphone.plist table.

Rob

Is there a reason you’re using it in a webviews as opposed to a native.newMapView()?

There are no additional permission on iOS, but you do have to include an intro in your build.settings for iOS 8.   The user also has accept using the GPS on iOS and if they turn it off, you may not get mapping services to work.

NSLocationWhenInUseUsageDescription = “This app uses maps and GPS when active.”,

Put something like that in your build.settings settings.iphone.plist table.

Rob