Skip to main content

Metrix

This is the Ionic Cordova SDK of Metrix™. You can read more about Metrix™ at metrix.ir.

Requires Cordova plugin: ir.metrix.sdk. For more info, please see the Metrix Cordova SDK

https://github.com/metrixorg/MetrixSDK-CordovaPlugin

Stuck on a Cordova issue?

Don't waste precious time on plugin issues.

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic’s experts offer premium advisory services for both community plugins and premier plugins.

Installation#

$ npm install ir.metrix.sdk $ npm install @ionic-native/metrix $ ionic cap sync

Supported Platforms#

  • Android

Usage#

React#

Learn more about using Ionic Native components in React

Angular#

 import { Metrix, MetrixConfig } from '@ionic-native/metrix';
 constructor(private metrix: Metrix) { }
 ...
 const config = new MetrixConfig('APP-ID-HERE'); // Set other config properties. metrix.create(config);