[Geofence Plugin] Where to put the webblock

Forge Component
Published on 2017-05-18 by Experts
0 votes
Published on 2017-05-18 by Experts

Hello, I'm trying to get the Geofence Plugin to work.

I have a test app, in which the notification works when entering a geofence.

But what I want is actually no notification, but the app should handle the 'onGeofenceEnter' event.

So the app is running (maybe in the background) and when the phone enters a certain geofence, the app should for example update a local entity and then synchronize this whith the backend. No user action required.

I can't get this to work, maybe the location of the Geofences webblock is important?



I wan't something similar, i want to send a (local) notification when entering/leaving geofence when running app in background.