Development Guides
Development of MiniApps is not rocket science! Here are some guides to help you.
User Location

The MiniApp will be able to check the current location using the standard JavaScript Geolocation APIs. i.e. 


navigator.geolocation.getCurrentPosition

Permissions: The user must have granted location permissions to the Android or iOS App.

The implementation for requesting permissions will be handled by the Mobile App, but if the user denies location permission to the App, then the call to


navigator.geolocation.getCurrentPosition

will be rejected.

Geolocation JavaScript API support

Please note that currently Geolocation is not fully supported on the iOS platform. The following table lists the supported features.

 

Supported on Android

Supported on iOS

Geolocation.getCurrentPosition YES YES
Geolocation.watchPosition YES NO
Geolocation.clearWatch YES NO
move to top