v1.0.4
trust_fall
기기의 신뢰도 손실을 감지하기 위한 플러터 플러그인 (재블브레이크, 루트, 에뮬레이터 및 가짜 위치 감지).
88좋아요 6430일 다운로드35Pub 점수
플랫폼 정보 없음
기기의 신뢰도 손실을 감지하기 위한 플러터 플러그인 (재블브레이크, 루트, 에뮬레이터 및 가짜 위치 감지).
{"sdk":"flutter"}{"sdk":"flutter"}아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
A Flutter plugin for detecting the trust fall of the device(Jailbroken, root, emulator and mock location detection).
Uses RootBeer for Android root detection and DTTJailbreakDetection for iOS jailbreak detection. Inspired by jail-monkey and this blog article
In your flutter project add the dependency:
dependencies:
...
trust_fall: ^1.0.4
import 'package:trust_fall/trust_fall.dart';
Checks whether device JailBroken on iOS/Android?
bool isJailBroken = await TrustFall.isJailBroken;
Checks whether device is real or emulator
bool isRealDevice = await TrustFall.isRealDevice;
Can this device mock location - no need to root!
bool canMockLocation = await TrustFall.canMockLocation;
(ANDROID ONLY) Check if application is running on external storage
bool isOnExternalStorage = await TrustFall.isOnExternalStorage;
Check if device violates any of the above
bool isTrustFall = await TrustFall.isTrustFall;