-
Notifications
You must be signed in to change notification settings - Fork 1
Download&Setup
Download the latest package version for Unity 5.4 or above from our server:
-
In the Unity editor, go to Assets >> Import Package >> Custom Package and browse the package location on your hard disk.
-
Check all files and press Import
-
In the Unity editor menu: go to Window >> Game of Whales. GameOfWhalesSettings form will be opened.
-
Enter game key to Game ID field.
-
If you use Google Cloud Messaging, fill out Android Project ID field: enter ID which will be used to get a token. You can also specify Firebase Sender ID instead of Android Project ID.
-
Сheck Debug Logging option if you need it.
-
Сheck Enable notifications option if you want to use push notifications (for iOS only).
-
Check Notification Service option if you want to send push notifications with images (for iOS only).
-
Fill Bundle postfix field if you want to send push notifications with images (for iOS only).
Notification Service option and Bundle postfix field are actual only for Unity 2017 and more.
NOTE about Android X: if your project uses the libraries for Android X, download com.gameofwhales.sdkx-<version>.aar library, remove com.gameofwhales.sdk-<version>.aar from your project and add com.gameofwhales.sdkx-<version>.aar. <version> is the number of used SDK version. It's supported since 2.0.32 version of SDK.