ionic-mtr-root-detection

Ionic Native - Native plugins for ionic apps

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
ionic-mtr-root-detection
2,219311.0.45 years ago5 years agoMinified + gzip package size for ionic-mtr-root-detection in KB

Readme

add plugin

cordova plugin add cordova-plugin-root-detection

npm i ionic-mtr-root-detection

use plugin

```typescript this.RootDetection.isDeviceRooted()
.then((res: any) => console.log(res))
.catch((error: any) => console.error(error));
```
import to app.module.ts
```typescript import { RootDetection } from 'ionic-mtr-root-detection'; providers: RootDetection ```
import to another page

ANDROID Only