npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

cordova-plugin-appice

v2.3.0

Published

AppICE Plugin for Cordova/PhoneGap

Readme

// Steps to use plugin

// Create sample project or use your own
if (cordova-plugin) {
    // Use below to create project 
    // myfolder : directory under which app to create
    // org.apache.cordova.myApp : app package name
    // myApp : app name
    cordova create myfolder org.apache.cordova.myApp myApp
}
else if (ionic-plugin) {
    // Use below to create project
    // myfolder : directory under which app to create
    // sidemenu : ionic framework to use
    ionic start myfolder sidemenu
}

// Switch to myfolder
cd myfolder

// Add android platform to project
if (cordova-plugin) {
    // If you are using plugin as cordova wrapper
    cordova platform add android --save
}
else if (ionic-plugin) {
    // If you are using plugin as ionic wrapper
    ionic platform add android
}

// Add appice plugin to project
if (cordova-plugin) {
    // If you are using plugin from npm install
    cordova plugin add cordova-plugin-appice --variable APPICE_APP_ID="appid" --variable APPICE_API_KEY="apikey" --variable APPICE_APP_KEY="appkey"
    
    // If you are using plugin from github install
    cordova plugin add https://github.com/AppICEIO/cordova-plugin-appice.git --variable APPICE_APP_ID="appid" --variable APPICE_API_KEY="apikey" --variable APPICE_APP_KEY="appkey"
    
    // If you are using plugin from local file system
    cordova plugin add /Volumes/Data/workspace_Appice/cordova-plugin-appice --variable APPICE_APP_ID="appid" --variable APPICE_API_KEY="apikey" --variable APPICE_APP_KEY="appkey"
}
else if (ionic-plugin) {
    // If you are using plugin as ionic wrapper
    cordova plugin add https://github.com/AppICEIO/cordova-plugin-appice.git
}

// Sync project with plugin and platform
if (cordova-plugin) {
    // If you are using plugin as cordova wrapper
    cordova prepare
}
else if (ionic-plugin) {
    // If you are using plugin as ionic wrapper
    ionic prepare
}

// To validation integration process
AppICE.validateIntegration(function(success) {
	console.log("Integration Success");
}, function(error) {
	console.error("Ingetration Error : " + error);
});

// To handle notification click handling
AppICE.onNotificationOpen(function(notification) {
    console.log("Notification Data : " + JSON.stringify(notification));
}, function(error) {
    console.error("Notification Error : " + error);
});

// To use appice in your project
// Custom gcm-id for already existing gcm being used
AppICE.initSdk("<app_id>","<app_key>","<api_key>","<Custom gcm id to use>","region","baseUrl");

// To send events via appice - only key
AppICE.tagEvent("<Key of event>");

// To send events via appice - with key and data
var dataObj = {
    "key1":"val1"
};
AppICE.tagEvent("<Key of event>", dataObj);

// To set custom variables
AppICE.setCustomVariable("<variable name>", "<variable value>");

// To set user info
AppICE.setUser("<user-name>", "<user-phone>", "<user-email>");

// Build project and run
if (cordova-plugin) {
    // If you are using plugin as cordova wrapper
    cordova build android
    cordova run android
}
else if (ionic-plugin) {
    // If you are using plugin as ionic wrapper
    ionic run android -l -c
}

=========================================
//using MFP
   	<preference name="APPICE_FIREBASE_UPDATE" value="false" />
        <preference name="APPICE_APPLICATIONCLASS_INCLUDE" value="false" />
        <preference name="MFP_PUSH" value="true" />
        <preference name="SSL_PINNING" value="true" />
        
//using FCM
<preference name="APPICE_FIREBASE_UPDATE" value="true" />
        <preference name="APPICE_APPLICATIONCLASS_INCLUDE" value="true" />
        <preference name="MFP_PUSH" value="false" />
        <preference name="SSL_PINNING" value="false" />


    //////////////for ssl pinning
    create "res" folder in root and add certs:
    1.ai_ios.der for ios
    2.ai_android.pem for android