Skip to content

Download&Setup

miritush edited this page Mar 30, 2017 · 67 revisions

Download

Download the latest package version for Unity 5 or above from our server:

The previous SDK versions available in our repository.

Registration

  • Head over here, have a short registration, register your game and set it's parameters.

Field Description How to get
Game Key Your game's security key It's generated automatically when you add your game to Game of Whales.
Special Offer Payload Key It is used for the [[verification Special offer verification]] of purchases that are done through special offers which are registered in Game of Whales
Firebase Sender ID Sender ID in Firebase console Create a Firebase project in the Firebase console.
Add your app to that project (add different apps for Android and iOS).
Open your app's settings and go to the CLOUD MESSAGING tab.
Copy Sender ID and paste it into the appropriate field on the Game Settings page.
Firebase Server Key Server Key in Firebase console Create a Firebase project in the Firebase console.
Add your app to that project (add different apps for Android and iOS).
Open your app's settings and go to the CLOUD MESSAGING tab.
Copy Server Key and paste it into the appropriate field on the Game Settings page.
Android Public License Key License Key in Google Play Developer Console Add your game to the Google Play Developer Console.
Copy YOUR LICENCE KEY FOR THIS APPLICATION and paste it into the appropriate field on the Game Settings page.
Android Bundle Identifier Bundle identifier for your game Add your game into the Google Play Developer Console.
Copy the information under the game title in the console and paste it into the appropriate field on the Game Settings page.
Android Notification Icon Icon's title, which will be added to push notifications from Game of Whales. In Unity Editor add (or replace the existing file) your game icon to the following folder: Plugins >> Android >> res >> drawable. Enter a name for the icon in the appropriate field on the Game Settings page.
iOS Bundle Identifier Bundle Identifier in iOS Developer Center Sign in to the iOS Developer Center. Click on the Certificates, Identifiers, and Profiles. Choose Identifiers from iOS Apps list. Click on the App IDs tab, select your game and copy iOS Bundle Identifier. Paste it into the appropriate field on Game Settings page.
  • The SDK uses In-App Purchasing service, so, you should enable the In-App Purchasing service in Unity Editor.

  • Register your project in the Firebase console (the SDK uses Firebase Cloud Messaging to send push notifications to the users). It's necessary for correct work of push notifications.

Import the SDK Unity package

  • 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

  • Check Game of whales SDK menu items Assets >> Game of Whales >> Settings

If you build your game for iOS, you need to get GoogleService-Info.plist file from the Firebase console and add it into the folder: Editor >> GameOfWhales and replace the existing file.

NEXT →

Clone this wiki locally