Open jasonbhart opened 8 years ago
@jasonbhart i tested on my iphone & current logic is still working with enabling/disabling location service. In this ticket, do you want to add instruction to enable GPS for Ios/Android devices?
The problem is in the Facebook browser, it is not about enabling/disabling GPS its about enabling Location Services (?) option in Facebook.
No, on Facebook browser, we still use the location of the device. If it's disabled, then we show the warning. If it's enabled, user will be asked to provide their confirmation as normal. (Tested on my iphone & Diep's android)
Maybe we will need to add this same guild into our document? https://www.facebook.com/help/275925085769221
It is a different context for the user. The GPS is not what needs to be changed its the location service in Facebook which changes this setting in this case, right? You must think of this from a stupid user point of view. On Feb 4, 2016 8:24 PM, "Pham Le Loi" notifications@github.com wrote:
No, on Facebook browser, we still use the location of the device. If it's disabled, then we show the warning. If it's enabled, user will be asked to provide their confirmation as normal. (Tested on my iphone & Diep's android)
Maybe we will need to add this same guild into our document? https://www.facebook.com/help/275925085769221
— Reply to this email directly or view it on GitHub https://github.com/jasonbhart/mmh/issues/584#issuecomment-180187912.
This is working on IOS because the facebook app is using the option of device's GPS. On Android, there is a separate option to enable/disable location service of the Facebook app itself. Still not sure how can we get this setting from Javascript...
@jasonbhart, @edgeprod do you have any suggestion on how to pull locality from Facebook app's location service option on Android?
Need additional logic to handle scenario when in Facebook mobile browser and Facebook location sharing/services are disabled by the user or otherwise not available. We need to not only change the warning but also change our logic in terms of where we are pulling locality information from.