Moving from Sandbox to Production
This article describes how to move your game from the Sandbox environment in Skillz to the Production environment. We assume you have integrated the Skillz SDK into your game, have tested it thoroughly in Sandbox, added finishing touches, and close to releasing it to the appropriate app store(s).
Switch to the Production Environment
When your game is fully tested and ready for production, it's time to switch the environment from Sandbox to Production.
For iOS, find your code which initializes Skillz and change the environment from SkillzSandbox to SkillzProduction. Your code will likely end up looking similar to:
[[Skillz skillzInstance] initWithGameId:@"156"
forDelegate:delegate
withEnvironment:SkillzProduction];
For Android, find the <meta-data android:name="skillz_production">
line in your AndroidManifest.xml
file and change the value to true
. That line of code in your manifest will look like:
<meta-data android:name="skillz_production" android:value="true" />
Open the Skillz Settings window (run the Skillz > Settings
menu item), change the Skillz Environment
to Production
:
In your Cordova game, find where you initialized Skillz, and change the environment to SkillzProduction
:
SkillzCordova.skillzInit('12345', 'SkillzProduction');
Build Your Binary
Now, rebuild your game for the appropriate platform(s). For Unity, refer to these instructions.
Also, be sure to sign your binary. For Android, follow Steps 1 and 2 in the official instructions. For iOS, refer to the official guide.
Upload Your Binary
Upload the resulting binary to the Skillz Developer Console. Below is a screenshot of the Binaries section where you will upload your binary.
NOTE
Make sure to upload your binary to the Skillz Developer Console each time you make a change in your game.
Next Steps
If you have any questions, check out the FAQ section or contact us.