Skip to content
No description, website, or topics provided.
Objective-C JavaScript Ruby Python Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__tests__
android
asset
ios
.buckconfig
.eslintrc.js
.flowconfig
.gitattributes
.gitignore
.watchmanconfig
App.js
App.js.bak
README.md
app.json
babel.config.js
index.js
metro.config.js
package-lock.json
package.json

README.md

najva React Native Application

This is a ReactNative application that Najva-ReactNative-plugin implemented in it.

Test Najva Service in ReactNative

If you want test Najva Push Notification Service in reactnative 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 campaignId,websiteId,apiKey which is specific to your app

  4. Go to App.js file and put this parameters to initializeNajva method that looks like the following then save it.

  Najva.initializeNajva(YOUR_CAMPAIGN_ID_GOES_HERE, YOUR_WEBSITE_ID_GOES_HERE, YOUR_API_KEY_GOES_HERE);     
  1. Now you can run application and send notification from your panel to it!
You can’t perform that action at this time.