najva Kotlin Application
This is a Kotlin application that NajvaSdk implemented in it.
Test Najva Service in Kotlin
If you want test Najva Push Notification Service in Kotlin application you should:
Clone this project and rename package name of it
Register this app after login in najva panel.(to register any app, its package name must be unique!)
After register najva panel gives you campaignId,websiteId,apiKey which is specific to your app
Go to MainActivity.kt and add change this line in onCreate method.
Najva.initialize(context,YOUR_CAMPAIGN_ID_GOES_HERE, YOUR_WEBSITE_ID_GOES_HERE, YOUR_API_KEY_GOES_HERE);
- Now you can run application and send notification from your panel to it!