Skip to content

Commit 97dfe29

Browse files
committed
fix(geolocation): watchPosition does not resolve on android
1 parent 0390133 commit 97dfe29

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

plugins/geolocation/android/src/main/java/GeolocationPlugin.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ class GeolocationPlugin(private val activity: Activity): Plugin(activity) {
136136
{ error -> args.channel.sendObject(error) })
137137

138138
watchers[args.channel.id] = Pair(invoke, args)
139+
140+
invoke.resolve()
139141
}
140142

141143
@Command

0 commit comments

Comments
 (0)