Playtolia Push uses Firebase Cloud Messaging (FCM) to send notifications across Android and iOS — transaction confirmations, social updates (friend requests, party invites), and marketing messages.Documentation Index
Fetch the complete documentation index at: https://docs.playtolia.com/llms.txt
Use this file to discover all available pages before exploring further.
Requirements
- Firebase Unity SDK with Cloud Messaging configured See Firebase FCM setup for Unity
Enable Playtolia Push
Navigate to Edit → Project Settings → Playtolia Settings and enable Push Notifications. Changes take effect with the next build.Notification permission
Android 13+ and iOS require explicit permission. Choose a strategy in Playtolia Settings:| Strategy | When permission is requested |
|---|---|
| During Initialization | On first app launch |
| After Login | Immediately after the player logs in |
| Custom | You call the request manually |
It’s generally better UX to ask for notification permission after the player has experienced some value — after a tutorial or first session, not immediately on launch.
Requesting permission manually (Custom strategy)
Checking permission status
Registering a push token
After Firebase initializes and provides a token, pass it to Playtolia so the backend can target this device:Opening notification settings
Sends the user to the OS notification settings for your app — useful when permission was previously denied:Reading state
Listening to changes
SDK Reference
PlaytoliaNotifications reference
Promotions
App review prompts