28
Views
1
Comments
Solved
[Geofence Plugin] Execute ClientAction when 
Question
geofence-plugin
Mobile icon
Forge component by Experts

In our app we created a Geofence. This creates a notification, this works properly, but we want to call a ClientAction when the geofence is triggered instead of the notification. Is this possible when App is not running?

mvp_badge
MVP
Solution

Hello Matthias,

I may be wrong here, but a Client Action, in mobile, as well as the Server/Screen Action in a Web application, only exists while the application is running. So, I can't see how would be possible to trigger a Client Action with the application closed. 

But... According to the link bellow, it seems it is possible to launch an app automatically on receiving a notification:

https://stackoverflow.com/questions/30089963/how-to-automatically-open-the-app-without-user-action-on-receiving-a-push-on-and

Maybe you can adapt it to your needs.

Cheers,

Eduardo

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.