This guide includes everything needed to use the Notifications feature in the "Beamable SDK for Unity".
Messaging systems allow the game to provide real-time updates based on server data. This is designed to broadcast communications (e.g. 1 to many). Objects can listen for updates (subscribe) with a certain tag. Other objects can then notify the subscribers (publish) with some context-relevant data.
Usages in Beamable APIs
The Notification feature's functionality is actually used by many other features, providing a foundation for a publish/subscribe pattern. For example,
Inventory.Subscribe()uses the NotificationService's
Subscribe()function under the hood.
Through the Notification API, the game maker can use this same messaging system for other parts of their game. This means that the purpose of the Notification feature is to expose a feature that Beamable already uses internally in the SDK.
- Local Notifications - Received on the client-side while the game is running.
- Push Notifications - Scheduled at any time from the server-side, regardless if the game is running. Typically it is received moments after it is scheduled.
Push Notifications are a native part of mobile platforms including iOS and Android. These messages show up as a banner of text, regardless if your game is running. A common use-case is notifying the user when a time-sensitive event is about to occur.
App Must Be Running
App Must Be Running
Messaging the game players can have a significant multiplier effect on engagement and revenue. Beamable offers features to support this.
• 1. Mail - Allows players to manage in-game mail messages. This is designed to narrowcast communications (e.g. 1 to 1). See Mail for more info
• 2. Announcements - Allows players to manage announcements. This is designed to broadcast communications (e.g. 1 to many). See Announcements for more info
• 3. Notifications - Allow games to send and receive messages through subscriptions. This is designed to broadcast communications (e.g. 1 to many). Continue reading below for more info
This Beamable Feature uses Google's Firebase. Firebase helps you build and run successful apps. Backed by Google, loved by developers. Easily integrate Firebase into your team's favorite tools.
Work In Progress
This area of Beamable functionality and documentation is a work-in-progress.
• Interested to learn more? Contact us.
Updated 5 months ago