Add the SDK as a JAR libraryΒΆ

If you’re running an environment which does not support Gradle, then you’ll need to add the SDK manually.

First download and extract the following archive

The archive will contain a number of .jar files, representing the components of the SDK that you’ll need to add to the lib folder in your Android project.

Then, add the following items in your AndroidManifest.xml file, under the Application tag:

<activity android:name="tv.superawesome.sdk.agegate.SAAgeGate"

<activity android:name="tv.superawesome.sdk.agegate.SAAgeInput"

This will register two activities for your application, all needed by the SDK.

Once you’ve added the Android Age Gate SDK, you can access all functionality by including:

import tv.superawesome.sdk.agegate.*;