Commit ec662a3c authored by Chris Scott's avatar Chris Scott

Rebuild frameworks. when ending a bg-task, log the currently outstanding-tasks...

Rebuild frameworks. when ending a bg-task, log the currently outstanding-tasks for debugging ios crashes due to outstanding-tasks.
parent 6c32002c
......@@ -397,12 +397,12 @@ public class CDVBackgroundGeolocation extends CordovaPlugin {
public void onEventMainThread(GeofencingEvent geofenceEvent) {
Log.i(TAG, "- Rx GeofencingEvent: " + geofenceEvent);
if (!geofenceCallbacks.isEmpty()) {
for (Geofence geofence : geofenceEvent.getTriggeringGeofences()) {
JSONObject params = new JSONObject();
try {
params.put("identifier", geofence.getRequestId());
params.put("action", "TODO");
} catch (JSONException e) {
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