Adding Application Class
Detailed steps to add an Application class to initialize the RudderStack SDK
Last updated
Was this helpful?
Detailed steps to add an Application class to initialize the RudderStack SDK
Last updated
Was this helpful?
We recommend using a global class to initialize our SDK. If you don't have an Application class for your project, follow these steps:
Create a class that extends Application
.
Kotlin JAVA
Open AndroidManifest.xml
file of your app and locate <application>
tag.
Add an attribute android:name
and set it to your new application class.
In case of any queries, you can always , or feel free to open an issue on our page if you come across any error or discrepancy.