Set up the Kotzilla SDK
You can configure the Kotzilla SDK either from the Koin IDE Plugin or from the Kotzilla Console. All the details are available here.
In this guide, we’ll use the Quick Setup as described in the Koin IDE Plugin, which is the fastest way to get started with the NowInAndroid sample app:
1.- Open the NowInAndroid project in Android Studio.
2.- In the Koin IDE Plugin, open the Koin Insights view, go to the Kotzilla Flight Check tab, click on the Quick Setup button, and enter the following values when prompted:
- Application Name:
NowInAndroid-gettingStarted
- Android Package Name:
com.google.samples.apps.nowinandroid.demo.debug
3.- Click Install. The Quick Setup will automatically:
- Register your app on the Kotzilla Platform
- Generate the
kotzilla.json
configuration file - Update your Gradle build files with the correct SDK setup
Once the setup completes sync the app and verify the setup:
- In the Koin Configuration view, the Debugging and performance monitoring flag should now show SDK active.
- Click on the
startKoin in onCreate()
entry to see that the SDK initialization (analytics()
function) has been added to yourNiaApplication.kt
class.