zarax
zarax

Reputation: 831

How to restart a Nativescript application even if user closes the app?

Users might close my application by swiping them from recent apps because they are used to that. In those cases, users don't get notifications about important events and they are complaining about this. How can I restart a force-closed app so that it will continue to receive FCM messages?

Upvotes: 0

Views: 1147

Answers (1)

Manoj
Manoj

Reputation: 21908

FCM messages are supposed to be received in background. A notification should be shown in the device's tray even if you application is not running / suspended.

Upvotes: 1

Related Questions