Cordova SDK Integration
Quick Steps Guidelines
Step 1: Cordova Installation
Navigate to your Cordova directory, install the plugin, add the wrapper dependency to package.json
, and run npm install
.
Step 2: Start Netmera Plugin
Import and start the Netmera Plugin in your app.
Step 1: Cordova Installation
Open your Terminal and navigate to your Cordova project directory. Run the following command to install the Cordova plugin:
In your
package.json
, add the following dependency for the wrapper:
Run the following command to install the dependencies:
Sample package.json
snippet:
Add the required preferences in your
config.xml
:
NetmeraKey
Netmera SDK API Key on Netmera Panel
Required
FcmKey
Firebase Sender ID on your Firebase project
Required
AppGroupName
Group name on your Apple developer project (for carousel push)
Optional
NetmeraBaseUrl
Base URL on your server (for on premise setup)
Optional
Step 2: Initialize Netmera Plugin
Import the Netmera Plugin in your application:
In your constructor, initialize the plugin:
Start the Netmera Plugin:
Cordova SDK Integration Complete 🎉
Cordova SDK integration has been successfully completed, and your devices are now ready to receive the following types of push notifications sent via the Netmera Dashboard:
Standard Push Notifications
Interactive Push Notifications
Widgets
Push Notifications with Deeplinks
Last updated