This document is for developers who have previously integrated v21.x of the Skillz Android SDK and want to update their integration using the latest v22.x release of our SDK.
The latest version of the Android SDK now provides pooled liquidity, user interface improvements, audio integration, and miscellaneous bug fixes.
Additionally, we've streamlined the Skillz UI for landscape orientation in order to ensure a more consistent user experience across devices.
Point your app to the Skillz SDK version 22.x
In your build.gradle file, update your Skillz dependency to be the latest SDK version. For example:
Note: The newest version can be found in http://nexus.skillz.com.
If you plan on using Google's Maven repository, Gradle version 4.1 and above is required. As such, you will need to modify our build.gradle file to reference v3.2.1 or above for the Gradle plugin. It usually resides in the buildscript section:
Refer to the official documentation to see which version of the plugin to reference for a different version of Gradle.
You will need to let Skillz know what orientation your game is set to. In your AndroidManifest.xml file, add the meta-data element below. NOTE: the value can either be "portrait" or "landscape".
<meta-data android:name="skillz_orientation" android:value="portrait" />
Important Please Read
To ensure the Skillz Audio API does not conflict with your current audio implementation please read the audio integration article carefully.
You have now updated your project to 22.x. If you encounter a problem, please email email@example.com with a detailed description of the issue you are encountering.