Skip to main content
Gameball uses Firebase and Huawei services to deliver maximum experience in your app. This includes push notifications, interactive in-app messaging. This depends on the initialization method mentioned earlier here, retrieving either Firebase or Huawei device tokens.

Configure Gameball With Firebase

Before you start, you must configure your Firebase on your Gameball account. Follow the steps in Configure your Firebase account on Gameball for mobile push notifications article from our Help Center related to push notifications.

Handling Push Notifications Integration

First, Implement the FirebaseMessagingService Interface and Implement your logic in the onMessageReceived override method.
Then, Register the service under application tag in the app’s Manifest file.
Your customers can now receive push notifications from Gameball Through Firebase FCM.
Follow this guide to learn more on how to Set up a Firebase Cloud Messaging client app on Android and this guide to learn more on how to Receive messages in an Android app.

Configure Gameball With Huawei

Follow these guides on how to integrate with Huawei Push Kit services:

Handling Push Notifications Integration

First, Implement the HuaweiMessagingService Interface and Implement your logic in the onMessageReceived override method.
Then, Register the service under application tag in the app’s Manifest file.
Your customers can now receive push notifications from Gameball through Huawei Push Kit.

Next Steps