Fix IOS webview geolocation JS alert notification in Xcode
$10-30 USD
Paid on delivery
I have simple IOS webview app which works perfectly with local html + JS files.
The webview calls html and JS from local folder and loads it in a view.
It's geolocation app which shows user's possition on google map.
When user starts the app, alert pops-up with message: "Allow app to access your locaction while you use the app" which is a native call, and thats OK.
After that message, second message appears with text:
"/var/mobile/Applications/157EB70D-4AA7-826E-690F0CBE0F/[login to view URL]" would like to use your current location"
which is also OK (because it is JS geolocation web browser call), but very long and ugly.
I need the second message to be like:
"app would like to use your current location"
I would like to have this fixed in objective-c, some kind of a workaround or whatever, (fixing it in JS should be the last option).
This is NOT a cordova/phonegap project, it's xcode project.
see attached images and app in zip.
loading files remotely is not an option!
If you think about passing second alert by getting user's location via native framework, that's not an option, cause there is more JS which will load after the geolocation call and which is connected to presented JS.
IOS7, xcode 7, app has no errors.
Project ID: #9977706
About the project
3 freelancers are bidding on average $26 for this job
Hi, I checked Error. I am Expert in Objective-C,Apple Xcode. I will start your Work Right Away and Solve the Issue quickly. Thanks, Jayesh.