@woosmap/react-native-plugin-geofencing 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -206,10 +206,10 @@ public class PluginGeofencingModule extends ReactContextBaseJavaModule implement
206
206
 
207
207
  /***
208
208
  * Checks if the required location permissions are granted or not.
209
- * Returns PERMISSION_STATUS_DENIED is no permissions are granted.
210
- * Returns PERMISSION_STATUS_GRANTED_FOREGROUND if foreground location permission is granted.
211
- * Returns PERMISSION_STATUS_GRANTED_BACKGROUND if background location permission is granted.
212
- * Returns UNKNOWN is plugin is unable to determine.
209
+ * Returns DENIED if no permissions are granted.
210
+ * Returns GRANTED_FOREGROUND if foreground location permission is granted.
211
+ * Returns GRANTED_BACKGROUND if background location permission is granted.
212
+ * Returns UNKNOWN if plugin is unable to determine or asking for permission without providing any permission.
213
213
  */
214
214
  @ReactMethod
215
215
  public void getPermissionsStatus(final Promise promise) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@woosmap/react-native-plugin-geofencing",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "This react-native plugin extends the functionality offered by the Woosmap Geofencing Mobile SDKs. Find more about the Woosmap Geofencing SDK",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",