katzer / cordova-plugin-app-event

Cordova App-Event Plugin
Apache License 2.0
26 stars 23 forks source link

Adding event handler #10

Open halindrome opened 7 years ago

halindrome commented 7 years ago

I know this plugin is used as part of local notifications (for example). Another instance where the app wakes up on iOS is if I am using location services and monitoring for an iBeacon. When that iBeacon comes in range, if the app has been killed, it is relaunched. Can you suggest a way to have the system make the launch options available to the cordova app on startup (maybe through an event, maybe through polling some API) so that apps restarted by the OS can react accordingly?

katzer commented 7 years ago

@halindrome Such event will be available with the new release of the local-notification plugin if the app is launched by clicking on a notification.

halindrome commented 7 years ago

Is there a timeline for this?