Push Notifications
Integrate your app with Gameball push notifications.
Last updated
Integrate your app with Gameball push notifications.
Last updated
Gameball uses Firebase to deliver maximum experience in your app. This includes push notifications and referrals support.
Before you start, you must configure your Firebase on your Gameball account. Follow the steps in article from our Help Center related to push notifications.
Configure notifications as usual and add two more methods using our SDK. This is normal integration for general firebase notifications configuration, so here is a how-to guide.
1. Add the below to the AppDelegate class
2. Then put these lines didFinishLaunchingWithOptions() in AppDelegate
3. Add these stack of lines to the AppDelegate class
4. Here we need to add this method to register token to Gameball in this method follow this guide on and pass it to the gameballApp.registerDevice