Quickstart guide
Succinct steps to get your Sees360 integration up and running.
Setup a project
- Go to the Projects screen and click “Add New Project”
- Complete the Name and Package name (
com.example.app) fields - Generate a new API token, giving it a descriptive name e.g. “Staging API key”
Copy the API key immediately as you will not be shown this key again!
Install the SDK into your app
- Visit the Accounts screen
- Generate a token to access the Maven repo for Sees360, this token will be valid for 12 hours
- Follow the onscreen instructions to install the SDK into your app
- Initialise the SDK in your app
// applicationContext - The App context
// apiKey - The API key when setting up the project, stored here in BuildConfig
// identifier - The unique identifier for your customer as a UUID
val apiKey = BuildConfig.API_KEY
Sees360.initialize(applicationContext, apiKey, identifier)
Ensure the customer has granted the PACKAGE_USAGE_STATS permission before initialising the SDK, if not granted SDK will not collect/send data.