navigator.geolocation.getCurrentPosition( ) not woking in IOS sharepoint app

New Contributor

HI Team,


we are using navigator.geolocation.getCurrentPosition(locationSuccess, locationError, {timeout: 5000} to get logged in user location details but this is not working insude sharepoint app in IOS. Any suggestions?


Also is there any way to check if user is logged in through sharepoint app in JavaScript code?

0 Replies