We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ee0dda commit d97f41fCopy full SHA for d97f41f
android/lib/src/main/java/com/marianhello/react/BackgroundGeolocationModule.java
@@ -375,12 +375,12 @@ public void onAuthorizationChanged(int authStatus) {
375
376
@Override
377
public void onLocationChanged(BackgroundLocation location) {
378
- sendEvent(LOCATION_EVENT, LocationMapper.toWriteableMap(location));
+ sendEvent(LOCATION_EVENT, LocationMapper.toWriteableMapWithId(location));
379
}
380
381
382
public void onStationaryChanged(BackgroundLocation location) {
383
- sendEvent(STATIONARY_EVENT, LocationMapper.toWriteableMap(location));
+ sendEvent(STATIONARY_EVENT, LocationMapper.toWriteableMapWithId(location));
384
385
386
0 commit comments