Initialize Gameball SDK
Create a GameballApp instance
To create a GameballApp instance you need to call the getInstance method.
Note that you need to have an initialized Firebase App to be able to the use the Referral and Notifications features.
Make sure that you call the following code after connecting with your Firebase project.
Initialize GameballApp Instance
To initialize GameballApp instance in your application class, use the init method which takes the following parameters (replace the braces with your values)
Parameter | Type | Required | Description |
| string | Yes | Client API key |
| string | No | Your platform language preference to view Gameball Widget with. Note: The language provided should be as per configured languages in your account. If not provided the Gameball profile widget will be shown with your account default language Example: |
| string | No | Your platform name |
| string | No | Your shop name. |
Last updated