{"id":20596978,"url":"https://github.com/tradle/react-native-passcode-status","last_synced_at":"2025-04-14T23:52:19.210Z","repository":{"id":57338940,"uuid":"48673850","full_name":"tradle/react-native-passcode-status","owner":"tradle","description":"check if passcode is enabled on the device ","archived":false,"fork":false,"pushed_at":"2019-05-15T15:18:20.000Z","size":21,"stargazers_count":8,"open_issues_count":0,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-28T11:51:09.764Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/tradle.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}},"created_at":"2015-12-28T04:29:56.000Z","updated_at":"2019-05-15T15:18:21.000Z","dependencies_parsed_at":"2022-08-31T04:02:21.458Z","dependency_job_id":null,"html_url":"https://github.com/tradle/react-native-passcode-status","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/tradle%2Freact-native-passcode-status","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tradle%2Freact-native-passcode-status/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tradle%2Freact-native-passcode-status/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tradle%2Freact-native-passcode-status/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tradle","download_url":"https://codeload.github.com/tradle/react-native-passcode-status/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248631719,"owners_count":21136559,"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":[],"created_at":"2024-11-16T08:19:44.638Z","updated_at":"2025-04-14T23:52:19.192Z","avatar_url":"https://github.com/tradle.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-passcode-status\n\ncheck if device-level passcode is supported/enabled/disabled\n\nthin wrapper around [UIDevice-PasscodeStatus](https://github.com/liamnichols/UIDevice-PasscodeStatus)\n\n## Installation\n\nSee [Linking Libraries](http://facebook.github.io/react-native/docs/linking-libraries-ios.html)\n\n## Usage\n\n```js\nimport { supported, status } from 'react-native-passcode-status'\nif (supported) {\n  switch (status) {\n  case 'enabled':\n    // do something\n    break;\n  case 'disabled':\n    // do something else\n    break;\n  case 'unknown':\n    // do something elser\n    break;\n  }\n} else {\n  // your iOS version is probably \u003c 8\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftradle%2Freact-native-passcode-status","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftradle%2Freact-native-passcode-status","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftradle%2Freact-native-passcode-status/lists"}