1.0.1 • Published 7 years ago
cordova-internal-plugins-analytics v1.0.1
Sephora cordova plugins - Analytics
Presentation
Provide Google Analytics support. The plugin is required by the multiscanner plugin, but version 1.6.0 made the scan fail. It is designed to be used for Infinibeauty (from v2.x) and MySephora (from v4.x).
Features
- Google Analytics plugin
Supported platforms
- iOS
Installation
Add as a cordova dependency, in config.xml (with Cordova 6.x or higher)
<plugin name="cordova-internal-plugins-analytics" spec="http://gitlab.estore.caas/cordova-plugins/analytics#1.0.0" />
You can also use hooks for older versions of Cordova
#!/usr/bin/env node
// add the paths to the plugins to this list
var pluginlist = [
"http://gitlab.estore.caas/cordova-plugins/analytics#1.0.0"
];
var execSync = require('sync-exec');
// if executed asynchronously, the several calls will conflict and the plugins won't be installed correctly
pluginlist.forEach(function(plug) {
execSync("cordova plugin add " + plug, {stdio:[0,1,2]});
});
Credit
Based on https://github.com/danwilson/google-analytics-plugin#1.6.0 by Daniel Wilson
1.0.1
7 years ago