Please, can you add this options ?
vmseguridaderp opened this issue · 0 comments
vmseguridaderp commented
Your Environment
- Plugin version:Current
- Platform: Android
- OS version: 8
- Device manufacturer and model:
- Running in Simulator:
- Cordova version (
cordova -v
): - Cordova platform version (
cordova platform ls
): - Plugin configuration options:
- Link to your project:
Context
This is not a bug ..
Please , can you add this options ... example ...
const config: BackgroundGeolocationConfig = {
....
custom: {'foo':'foo'}
};
.. send options "custom" and recive in this.backgroundGeolocation.headlessTask()
this.backgroundGeolocation.headlessTask( (event) => {
const foo = event.params.custom.foo;
});
.. please .. :)