{"id":21095407,"url":"https://github.com/anish-adm/trust_fall","last_synced_at":"2025-07-16T21:37:24.900Z","repository":{"id":47740396,"uuid":"177441427","full_name":"anish-adm/trust_fall","owner":"anish-adm","description":"A Flutter plugin for detecting the trust fall of the device(Jailbroken, root, emulator and mock location detection).","archived":false,"fork":false,"pushed_at":"2021-08-15T19:03:52.000Z","size":187,"stargazers_count":38,"open_issues_count":10,"forks_count":42,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-08T19:04:16.986Z","etag":null,"topics":["circleoftrust","emulator-detector","flutter","jailbreak","mock-location","root-detection","simulator-detector"],"latest_commit_sha":null,"homepage":"https://pub.dartlang.org/packages/trust_fall","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anish-adm.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-24T16:39:27.000Z","updated_at":"2025-05-09T13:20:42.000Z","dependencies_parsed_at":"2022-08-29T06:50:55.799Z","dependency_job_id":null,"html_url":"https://github.com/anish-adm/trust_fall","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anish-adm/trust_fall","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anish-adm%2Ftrust_fall","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anish-adm%2Ftrust_fall/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anish-adm%2Ftrust_fall/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anish-adm%2Ftrust_fall/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anish-adm","download_url":"https://codeload.github.com/anish-adm/trust_fall/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anish-adm%2Ftrust_fall/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265542381,"owners_count":23785216,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["circleoftrust","emulator-detector","flutter","jailbreak","mock-location","root-detection","simulator-detector"],"created_at":"2024-11-19T22:26:03.509Z","updated_at":"2025-07-16T21:37:24.881Z","avatar_url":"https://github.com/anish-adm.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# trust_fall\n\nA Flutter plugin for detecting the trust fall of the device(Jailbroken, root, emulator and mock location detection).\n\nUses [RootBeer](https://github.com/scottyab/rootbeer) for Android root detection and [DTTJailbreakDetection](https://github.com/thii/DTTJailbreakDetection) for iOS jailbreak detection.\nInspired by [jail-monkey](https://github.com/GantMan/jail-monkey) and [this blog article](http://blog.geomoby.com/2015/01/25/how-to-avoid-getting-your-location-based-app-spoofed/) \n\n## Getting Started\n\nIn your flutter project add the dependency:\n\n```yml\ndependencies:\n  ...\n  trust_fall: ^1.0.4\n```\n\n\n## Usage\n#### Importing package\n```\nimport 'package:trust_fall/trust_fall.dart';\n```\n#### Using it\n\nChecks whether device JailBroken on iOS/Android?\n```\nbool isJailBroken = await TrustFall.isJailBroken;\n```\nChecks whether device is real or emulator\n```\nbool isRealDevice = await TrustFall.isRealDevice;\n```\nCan this device mock location - no need to root!\n```\nbool canMockLocation = await TrustFall.canMockLocation;\n```\n(ANDROID ONLY) Check if application is running on external storage\n```\nbool isOnExternalStorage = await TrustFall.isOnExternalStorage;\n```\nCheck if device violates any of the above\n```\nbool isTrustFall = await TrustFall.isTrustFall;\n```\n\n# Note:\n#### Mock location detection\n* **Android** - Location permission needs to be granted in app in order to detect mock location properly\n* **iOS** - For now we are checking if device is Jail Broken or if it's not real device. There is no strong detection of mock location in iOS *(Open the PR if you have better way for mock location detection in iOS)*\n\n## ❗Since emulators are usually rooted, you might want to bypass these checks during development. Unless you're keen on constant false alarms ⏰","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanish-adm%2Ftrust_fall","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanish-adm%2Ftrust_fall","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanish-adm%2Ftrust_fall/lists"}