问题
How can I get notifications from the Tabrisjs app in its closed state? similar to the notifications received in apps like Whatsapp or Facebook messanger even when the applications are not open.
The notifications can be either time triggered e.g. displaying a notification at 1200 hrs every day or it can be coming from a server. Any help is appreciated.
回答1:
Per this issue from the issue tracker:
- tabris-plugin-firebase Supports Android (update: And iOS)
- phonegap-plugin-push (fork) has been modified to work with iOS
- pushwoosh-phonegap-plugin (fork) has been modified for basic functionality to work on iOS and Android
If you're looking for Windows support as well, you might try some other Cordova plugins.
来源:https://stackoverflow.com/questions/42420599/get-notifications-from-a-closed-tabris-js-app