{"id":13553746,"url":"https://github.com/jeremyko/flutter-proximity-sensor-plugin","last_synced_at":"2025-10-26T10:31:16.747Z","repository":{"id":37255784,"uuid":"351112531","full_name":"jeremyko/flutter-proximity-sensor-plugin","owner":"jeremyko","description":"flutter proximity sensor plugin package","archived":false,"fork":false,"pushed_at":"2025-02-08T07:47:12.000Z","size":162,"stargazers_count":7,"open_issues_count":0,"forks_count":11,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-08T08:30:09.410Z","etag":null,"topics":["android","dart","flutter","iphone-app","kotlin","proximity-sensor","swift"],"latest_commit_sha":null,"homepage":"https://jeremyko.github.io/2021/03/28/proximitysensor-flutter-package-plugin.html","language":"Kotlin","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/jeremyko.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-03-24T14:35:51.000Z","updated_at":"2025-02-08T07:46:06.000Z","dependencies_parsed_at":"2024-08-01T12:23:20.974Z","dependency_job_id":"5238f55f-1c61-4ca5-960d-04ac1962ee5f","html_url":"https://github.com/jeremyko/flutter-proximity-sensor-plugin","commit_stats":{"total_commits":24,"total_committers":2,"mean_commits":12.0,"dds":"0.45833333333333337","last_synced_commit":"e505adfae80e61df653ac289e3aef0bb9b153c84"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremyko%2Fflutter-proximity-sensor-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremyko%2Fflutter-proximity-sensor-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremyko%2Fflutter-proximity-sensor-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremyko%2Fflutter-proximity-sensor-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeremyko","download_url":"https://codeload.github.com/jeremyko/flutter-proximity-sensor-plugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238310327,"owners_count":19450840,"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","dart","flutter","iphone-app","kotlin","proximity-sensor","swift"],"created_at":"2024-08-01T12:02:32.466Z","updated_at":"2025-10-26T10:31:16.329Z","avatar_url":"https://github.com/jeremyko.png","language":"Kotlin","funding_links":[],"categories":["Kotlin"],"sub_categories":[],"readme":"# proximity_sensor\n\nhttps://pub.dev/packages/proximity_sensor\n\nsimple and easy to use flutter plugin package for proximity sensor (only)\n\n## Getting started\n\nIn the `pubspec.yaml` of your flutter project, add the following dependency:\n\n```yaml\ndependencies:\n  ...\n  proximity_sensor:\n```\n\nIn your library add the following import:\n\n```dart\nimport 'package:proximity_sensor/proximity_sensor.dart';\n```\n\n## Note\n\nAndroid 12 and higher are required to specify an explicit value for `android:exported`  \nThis is an example.\n\n    \u003cactivity\n        android:exported=\"true\"\n        ....\n\n**(Android only)**\nWAKE_LOCK permission is needed if you run `setProximityScreenOff(true)` before listening to events\n\nAdd below permission in your AndroidManifest.xml file.  \n\n    \u003cuses-permission android:name=\"android.permission.WAKE_LOCK\"/\u003e\n\n\n**Some recent devices use virtual proximity sensors. There are no physical sensors. I found it hard to trust the sensor information in this case.**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeremyko%2Fflutter-proximity-sensor-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeremyko%2Fflutter-proximity-sensor-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeremyko%2Fflutter-proximity-sensor-plugin/lists"}