GeolocationHuawei implements the same GeolocationPlugin interface as
@capacitor/geolocation, routing calls through the Huawei JS Bridge.
getCurrentPosition / clearWatch / checkPermissions / requestPermissions
use the standard request-response bridge.
watchPosition registers a global push callback so the native side can
continuously deliver position updates via
window.aigensGeolocationWatch(id, position)
window.aigensGeolocationWatchError(id, error)
GeolocationHuawei implements the same GeolocationPlugin interface as @capacitor/geolocation, routing calls through the Huawei JS Bridge.
getCurrentPosition / clearWatch / checkPermissions / requestPermissions use the standard request-response bridge.
watchPosition registers a global push callback so the native side can continuously deliver position updates via window.aigensGeolocationWatch(id, position) window.aigensGeolocationWatchError(id, error)