trust_fall
一個用於檢測設備信任狀態的 Flutter 插件(越獄、root、模擬器和偽造位置檢測)。
一個用於檢測設備信任狀態的 Flutter 插件(越獄、root、模擬器和偽造位置檢測)。
以下為英文專案原文快照,最新內容請造訪 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;
依賴清單 2 項
{"sdk":"flutter"}{"sdk":"flutter"}先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗