The part I am not clear on is how I can share context information between the app and the background handler. My goal is to post the data to an API endpoint, but in order to do so I need an authentication token from the app. Is there some way to share that information from the app with the background handler?
For instance, if I write the token to a file from the app, would the handler have a way to read it?
Hi, I took a look at https://github.com/cowbell/cordova-plugin-geofence#listening-for-geofence-transitions-in-native-code.
The part I am not clear on is how I can share context information between the app and the background handler. My goal is to post the data to an API endpoint, but in order to do so I need an authentication token from the app. Is there some way to share that information from the app with the background handler?
For instance, if I write the token to a file from the app, would the handler have a way to read it?
Thanks,
Chris