From 46a14951a8baa5796bf1848bcca9774ff3c390c1 Mon Sep 17 00:00:00 2001 From: mahdiHT Date: Tue, 3 Sep 2019 15:27:12 +0430 Subject: [PATCH] Update README.md --- README.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 229fe87..6f27e75 100644 --- a/README.md +++ b/README.md @@ -9,11 +9,16 @@ this [link](https://stackoverflow.com/questions/16804093/rename-package-in-andro 2. Register this app after login in [najva panel](https://app.najva.com/accounts/login/?next=/).(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 +3. After register najva panel gives you `websiteId`,`apiKey` which is specific to your app -4. Go to `MainActivity.java` and put this parameters in `initialize` method that looks like the following: +4. Go to `AndroidManifest.xml` and put this parameters in `application` tag that looks like the following: ``` -Najva.initialize(this, YOUR_CAMPAIGN_ID_GOES_HERE, YOUR_WEBSITE_ID_GOES_HERE, YOUR_API_KEY_GOES_HERE); + + ``` -5. Now you can run application and send notification from your panel to it! \ No newline at end of file +5. Now you can run application and send notification from your panel to it! can run application and send notification from your panel to it! \ No newline at end of file