{"id":18836868,"url":"https://github.com/amantoux/proximity_screen_lock","last_synced_at":"2025-04-14T06:21:46.772Z","repository":{"id":56499171,"uuid":"523610162","full_name":"amantoux/proximity_screen_lock","owner":"amantoux","description":"A Flutter plugin that de-activates the screen when proximity sensor detects something","archived":false,"fork":false,"pushed_at":"2024-08-12T13:36:19.000Z","size":143,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-22T23:26:11.571Z","etag":null,"topics":["flutter","lockscreen","proximity-sensor"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/proximity_screen_lock","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amantoux.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2022-08-11T06:28:15.000Z","updated_at":"2024-08-12T13:36:22.000Z","dependencies_parsed_at":"2024-08-22T23:14:11.133Z","dependency_job_id":"dc53c805-4d66-4521-8cf7-c5df38b65b49","html_url":"https://github.com/amantoux/proximity_screen_lock","commit_stats":{"total_commits":24,"total_committers":1,"mean_commits":24.0,"dds":0.0,"last_synced_commit":"758ea28105eddb4d740e50ee39ac092a6be252f8"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amantoux%2Fproximity_screen_lock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amantoux%2Fproximity_screen_lock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amantoux%2Fproximity_screen_lock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amantoux%2Fproximity_screen_lock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amantoux","download_url":"https://codeload.github.com/amantoux/proximity_screen_lock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248830899,"owners_count":21168366,"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":["flutter","lockscreen","proximity-sensor"],"created_at":"2024-11-08T02:32:32.293Z","updated_at":"2025-04-14T06:21:46.740Z","avatar_url":"https://github.com/amantoux.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Proximity Screen Lock\n\n[![pub package](https://img.shields.io/pub/v/proximity_screen_lock.svg)](https://pub.dartlang.org/packages/proximity_screen_lock)\n\nA Flutter plugin that can be used to bind screen activation to proximity sensor\n\n# Usage\n\nTo activate the behavior\n\n```dart\nif (ProximityLockScreen.isProximityLockSupported()) {\n  ProximityLockScreen.setActive(true)\n}\n```\n\n# Availability\n\n`ProximityLockScreen.isProximityLockAvailable()` will return `false` on Android devices that do not provide a proximity sensor.\nIt will also return `false` for non-mobile devices\n\n|                            | iOS   | Android | Others     |\n|----------------------------|-------|---------|-------------|\n| `isProximityLockAvailable` |  `true`   | `true` or `false`       | `false` |\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famantoux%2Fproximity_screen_lock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famantoux%2Fproximity_screen_lock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famantoux%2Fproximity_screen_lock/lists"}