Answer the question
In order to leave comments, you need to log in
What are the ways (or permissions) to get location coordinates from a site with https ( ssl ) opened in an Android or iOS app browser?
Welcome all. Need advice or help in the following situation:
1. Situation: there is a working site with https ( ssl - Let's Encrypt ), in its js code there is a fragment that catches, if the client has agreed, the coordinates:
navigator.geolocation.getCurrentPosition( function( position ){
var la = position.coords.latitude;
var lo = position.coords.longitude;
...
} );
Answer the question
In order to leave comments, you need to log in
I believe no
The self-written built-in browser is used for this, so that the application can independently control any functionality.
Accordingly, if the application did not bother with issuing coordinates to you, then a bummer.
ps usually everyone uses webkit , like the list of geolocationapi features states:
https://webkit.org/status/#
https://developer.android.com/reference/android/we... support is also declared if the site uses ssl, but the application developer himself must implement a callback to confirm the issuance of data
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question