User denied Geolocation - login process is stopped

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
Jaymer
Posts: 2539
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

User denied Geolocation - login process is stopped

Post by Jaymer »

As part of user login, I run some processes.
One of them gets the current location.
I am finding that if a user has location services blocked in Chrome,
they will get this error dialog and the login process is stopped.
Access to the app is denied.

This is in v8.8. Build 3128

Is anyone using MOBILE GET LOCATION INTO MGEOLOCATION in later versions?
Maybe this has been fixed ?
image001 copy.png
image001 copy.png (14.25 KiB) Viewed 731 times
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
ACDC
Posts: 1161
Joined: Sat Jun 30, 2007 5:03 pm
Location: California, USA

Re: User denied Geolocation - login process is stopped

Post by ACDC »

I was busy with this yesterday, would this not be a solution? :
https://www.awareim.com/forum/viewtopic ... ION#p53105
Jaymer
Posts: 2539
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: User denied Geolocation - login process is stopped

Post by Jaymer »

1. Thanks, did this work for you?
Does it stay in the app and operate normally after the dialogue?

2. I’ll publish this tonight on app and see what it does.
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Posts: 2539
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: User denied Geolocation - login process is stopped

Post by Jaymer »

UPDATE

Well, this isn't much better.
I get a nicer message, but it still stops the app cold...
leaving the user trying to figure out how to enable location services.
... which isn't particularly hard, but not everyone can do it.

I'd be ok moving forward and let the HR/IT dept. deal with it - some users won't have the MGeolocation data and it will stand out. But can't have the app be dead and people not allowed to work.

Easier on chrome, because the icon is right there in the URL bar, but I don't even know how to do it in Safari.
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
Post Reply