Fix IOS webview geolocation JS alert notification in Xcode

In Progress Posted Mar 18, 2016 Paid on delivery
In Progress 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.

HTML5 iPhone JavaScript Objective C

Project ID: #9977706

About the project

3 proposals Remote project Active Mar 22, 2016

3 freelancers are bidding on average $26 for this job

topteam123

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.

$30 USD in 0 days
(28 Reviews)
7.2
neuweg

Already have experience with it. Can fix it immediately now and deliver the source code.

$28 USD in 1 day
(11 Reviews)
5.0
romahuti2

Hi, i would like to help fix error

$20 USD in 1 day
(17 Reviews)
4.1