Android enum added
MODIFY
geolocator/android/src/main/java/com/baseflow/geolocator/location/LocationServiceStatusReceiver.java
geolocator/android/src/main/java/com/baseflow/geolocator/location/LocationServiceStatusReceiver.java
@@ -38,14 +38,14 @@ public class LocationServiceStatusReceiver extends BroadcastReceiver {
if(!isEnabled){
isEnabled = true;
if (events != null) {
- events.success(true);
+ events.success(ServiceStatus.enabled);
}
}
} else {
if(isEnabled){
isEnabled = false;
if (events != null) {
- events.success(false);
+ events.success(ServiceStatus.disabled);
}
}

ADD
geolocator/android/src/main/java/com/baseflow/geolocator/location/ServiceStatus.java
+package com.baseflow.geolocator.location;
+
+public enum ServiceStatus {
+ disabled,
+ enabled
+}

Android enum added