Skip to content

Download&Setup

amironicheva edited this page Mar 3, 2017 · 67 revisions

Download

Download latest package version for Unity 5 from our server:

Previous Game of whales SDK versions available in our [repository] (https://github.com/Game-of-whales/GOW-SDK-UNITY).

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 you 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, if you don't already have one.
Add your app in this project, if you don't already do it. You should add different apps for Android and for iOS.
Open your app's settings and go to CLOUD MESSAGING tab.
Copy Sender ID and paste it to the appropriate field on [Game Settings] (http://gameofwhales.com/#/documentation/game) page.
Firebase Server Key Server Key in Firebase console Create a Firebase project in the Firebase console, if you don't already have one.
Add your app in this project, if you don't already do it. You should add different apps for Android and for iOS.
Open your app's settings and go to CLOUD MESSAGING tab.
Copy Server Key and paste it to the appropriate field on [Game Settings] (http://gameofwhales.com/#/documentation/game) page.
Android Public License Key License Key in Google Play Developer Console Add your game in Google Play Developer Console.
Copy YOUR LICENCE KEY FOR THIS APPLICATION and paste it to appropriate field on [Game Settings] (http://gameofwhales.com/#/documentation/game) page.
Android Bundle Identifier Bundle identifier for your game Add your game in Google Play Developer Console.
Copy information under the game title in the console and paste it to appropriate field on [Game Settings] (http://gameofwhales.com/#/documentation/game) page.
Android Notification Icon Icon's title, which will be added to push notifications from Game of Whales. In Unity Editor add (or replace existing file) your game icon to the following folder: Plugins >> Android >> res >> drawable. Enter the name of this icon to appropriate field on [Game Settings] (http://gameofwhales.com/#/documentation/game) 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 to appropriate field on [Game Settings] (http://gameofwhales.com/#/documentation/game) page.
  • SDK uses In-App Purchasing service, so, you should enable the In-App Purchasing service in Unity Editor.

  • SDK uses Firebase Cloud Messaging to sending push notifications to users. So, you should register your project in the Firebase console. 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 to 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 to the folder: Editor >> GameOfWhales. You should replace existing file.

NEXT →

Clone this wiki locally