Installing the Freshpaint Android SDK
To install the Freshpaint Android SDK, first add the following dependencies to your gradle file:
To import the SDK, use:
Then to initialize the SDK, you should run:
You can get your environment id from the Freshpaint sources page.
You should run the initialization code in either the onCreate
method of your class that extends Application, or in the onCreate
method of your main activity class.
Verifying Your Instrumentation
To verify your Freshpaint installation, navigate to the Freshpaint Live View. After opening your app, you should see an Application Opened
event show up in Live View:
Note, the Freshpaint SDK batches events, so it can take a minute for the event to show up.
Last updated