Installing the Freshpaint Android SDK
Last updated
Was this helpful?
Last updated
Was this helpful?
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 .
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.
To verify your Freshpaint installation, navigate to the Freshpaint . 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.