{"id":16401719,"url":"https://github.com/dev-hwang/flutter_security_checker","last_synced_at":"2025-03-21T02:33:13.563Z","repository":{"id":56830160,"uuid":"365950191","full_name":"Dev-hwang/flutter_security_checker","owner":"Dev-hwang","description":"This plugin provides the ability to verify rooting and integrity on Android and iOS platforms.","archived":false,"fork":false,"pushed_at":"2024-06-12T05:41:28.000Z","size":78,"stargazers_count":8,"open_issues_count":1,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-12T05:43:58.299Z","etag":null,"topics":["android","flutter","ios","root-checker","security"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","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/Dev-hwang.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-10T07:08:46.000Z","updated_at":"2024-10-07T03:52:31.000Z","dependencies_parsed_at":"2024-06-12T08:23:29.392Z","dependency_job_id":"003d74a5-c960-41a5-929b-cc6f3a383e8b","html_url":"https://github.com/Dev-hwang/flutter_security_checker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dev-hwang%2Fflutter_security_checker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dev-hwang%2Fflutter_security_checker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dev-hwang%2Fflutter_security_checker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dev-hwang%2Fflutter_security_checker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dev-hwang","download_url":"https://codeload.github.com/Dev-hwang/flutter_security_checker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221811380,"owners_count":16884305,"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":["android","flutter","ios","root-checker","security"],"created_at":"2024-10-11T05:43:59.978Z","updated_at":"2025-03-21T02:33:13.558Z","avatar_url":"https://github.com/Dev-hwang.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"This plugin provides the ability to verify rooting and integrity on Android and iOS platforms.\n\n[![pub package](https://img.shields.io/pub/v/flutter_security_checker.svg)](https://pub.dev/packages/flutter_security_checker)\n\n## Features\n\n* Can check whether the device is rooted or jailBroken.\n* Can check whether the device on which the app is installed is a physical device.\n* Can check that the app is installed through the correct content service (such as Google Play or Apple Store).\n\n## Support version\n\n- Flutter: `3.3.0+`\n- Dart: `2.18.0+`\n- Android: `5.0+ (minSdkVersion: 21)`\n- iOS: `12.0+`\n\n## Getting started\n\nTo use this plugin, add `flutter_security_checker` as a [dependency in your pubspec.yaml file](https://flutter.io/platform-plugins/). For example:\n\n```yaml\ndependencies:\n  flutter_security_checker: ^3.2.1\n```\n\n## How to use\n\n```dart\nimport 'package:flutter_security_checker/flutter_security_checker.dart';\n\nvoid _onCheckButtonPressed() async {\n  // Check whether the device is rooted or jailBroken.\n  // In Android Emulator or iOS Simulator it always returns true.\n  final bool isRooted = await FlutterSecurityChecker.isRooted;\n  \n  // Check whether the device on which the app is installed is a physical device.\n  final bool isRealDevice = await FlutterSecurityChecker.isRealDevice;\n  \n  // Check that the app is installed through the correct content service (such as Google Play or Apple Store).\n  // It is not an app installed through content service or always returns false in debugging mode.\n  final bool hasCorrectlyInstalled = await FlutterSecurityChecker.hasCorrectlyInstalled;\n}\n```\n\n**NOTE:** The `isRooted` and `hasCorrectlyInstalled` functions may not work properly in the development environment. In development environment, it is recommended to turn off notifications using the `kReleaseMode` of the `flutter/foundation.dart` package appropriately.\n\n## Support\n\nIf you find any bugs or issues while using the plugin, please register an issues on [GitHub](https://github.com/Dev-hwang/flutter_security_checker/issues). You can also contact us at \u003chwj930513@naver.com\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-hwang%2Fflutter_security_checker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdev-hwang%2Fflutter_security_checker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-hwang%2Fflutter_security_checker/lists"}