ionic-mtr-root-detection
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

add plugin

cordova plugin add cordova-plugin-root-detection

npm i ionic-mtr-root-detection

use plugin

 this.RootDetection.isDeviceRooted()
   .then((res: any) => console.log(res))
   .catch((error: any) => console.error(error));

import to app.module.ts

import { RootDetection } from 'ionic-mtr-root-detection';
 
providers[RootDetection]

import to another page

ANDROID Only

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i ionic-mtr-root-detection

      Weekly Downloads

      31

      Version

      1.0.4

      License

      MIT

      Last publish

      Collaborators

      • hendraw