Skip to content

najva-com/najva-androidsdk-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

najva Android Studio Application

This is an application that implemented by Android Studio and NajvaSDK has been used in it.

Test Najva Service

If you want test Najva Push Notification Service in android application you should:

  1. Clone this project and rename package name of it. this link can be useful.

  2. Register this app after login in najva panel.(to register any app, its package name must be unique!)

  3. After register najva panel gives you websiteId,apiKey which is specific to your app

  4. Go to AndroidManifest.xml and put this parameters in application tag that looks like the following:

<meta-data
    android:name="com.najva.sdk.metadata.API_KEY"
    android:value="[YOUR_API_KEY_GOES_HERE]" />
<meta-data
    android:name="com.najva.sdk.metadata.WEBSITE_ID"
    android:value="[YOUR_WEBSITE_ID_GOES_HERE]" />
  1. Now you can run application and send notification from your panel to it!