Commit f5de6d22 authored by Chris Scott's avatar Chris Scott

Merge pull request #69 from christocracy/geofencing

Rebuild frameworks. 
parents 6c32002c ec662a3c
...@@ -397,12 +397,12 @@ public class CDVBackgroundGeolocation extends CordovaPlugin { ...@@ -397,12 +397,12 @@ public class CDVBackgroundGeolocation extends CordovaPlugin {
public void onEventMainThread(GeofencingEvent geofenceEvent) { public void onEventMainThread(GeofencingEvent geofenceEvent) {
Log.i(TAG, "- Rx GeofencingEvent: " + geofenceEvent); Log.i(TAG, "- Rx GeofencingEvent: " + geofenceEvent);
if (!geofenceCallbacks.isEmpty()) { if (!geofenceCallbacks.isEmpty()) {
for (Geofence geofence : geofenceEvent.getTriggeringGeofences()) { for (Geofence geofence : geofenceEvent.getTriggeringGeofences()) {
JSONObject params = new JSONObject(); JSONObject params = new JSONObject();
try { try {
params.put("identifier", geofence.getRequestId()); params.put("identifier", geofence.getRequestId());
params.put("action", "TODO");
} catch (JSONException e) { } catch (JSONException e) {
e.printStackTrace(); e.printStackTrace();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment