Push notifications #
Push notifications can be used to improve your mobile game in several ways, including:
- Player engagement: Notify players of new content or events, encouraging them to return to the game and increasing engagement.
- Retention: By reminding players to come back to the game after a certain amount of time has passed, push notifications can help improve player retention.
- Monetization: Promote in-game purchases or special offers, encouraging players to spend money within the game.
- Social interactions: Encourage players to interact with friends or join multiplayer sessions.
In practice, you should keep in mind the timing and frequency of notifications sent, ensuring they are relevant and add value to the player’s experience without being intrusive.
Initialize the local notifications system #
The local notifications system takes an OperatingMode
as well as properties for determining if notifications should auto increment native badge number via the constructor.
|
|
Listing pending notifications #
You can list pending notifications.
|
|
Creating a notification #
You can create a notification.
|
|
Scheduling a notification for delivery #
You can schedule a notification for delivery.
|
|
Cancelling a notification #
You can cancel a notification.
|
|
Cancelling all notifications #
You can cancel all notifications.
|
|
Dismissing a notification #
You can dismiss a notification.
|
|
Dismissing all notifications #
You can dismiss all notifications.
|
|
Getting last notification #
You can get the last notification.
|
|
Pausing notifications #
You can pause notifications.
|
|
Resuming notifications #
You can resume notifications.
|
|
Shutting down the notification system #
You can shutdown the notification system.
|
|