{"id":30639638,"url":"https://github.com/iammehedi/passcodeview","last_synced_at":"2025-08-31T00:09:31.201Z","repository":{"id":47655490,"uuid":"42047642","full_name":"iamMehedi/PasscodeView","owner":"iamMehedi","description":"An android widget to input passcode.","archived":false,"fork":false,"pushed_at":"2021-10-07T13:48:04.000Z","size":573,"stargazers_count":133,"open_issues_count":1,"forks_count":25,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-27T14:55:48.967Z","etag":null,"topics":["android-widget","digit","passcode","passcode-input","passcodelock"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iamMehedi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-07T10:48:33.000Z","updated_at":"2024-02-22T11:49:00.000Z","dependencies_parsed_at":"2022-09-26T21:41:17.711Z","dependency_job_id":null,"html_url":"https://github.com/iamMehedi/PasscodeView","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iamMehedi/PasscodeView","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamMehedi%2FPasscodeView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamMehedi%2FPasscodeView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamMehedi%2FPasscodeView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamMehedi%2FPasscodeView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamMehedi","download_url":"https://codeload.github.com/iamMehedi/PasscodeView/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamMehedi%2FPasscodeView/sbom","scorecard":{"id":477290,"data":{"date":"2025-08-11","repo":{"name":"github.com/iamMehedi/PasscodeView","commit":"ef2d27200a5e5333a870340e11aa8dd8df294fea"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/16 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-19T15:40:04.101Z","repository_id":47655490,"created_at":"2025-08-19T15:40:04.101Z","updated_at":"2025-08-19T15:40:04.101Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272922346,"owners_count":25015769,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-widget","digit","passcode","passcode-input","passcodelock"],"created_at":"2025-08-31T00:09:30.143Z","updated_at":"2025-08-31T00:09:31.144Z","avatar_url":"https://github.com/iamMehedi.png","language":"Java","readme":"# PasscodeView\n[![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)\n[ ![Download](https://api.bintray.com/packages/iammehedi/Maven/online.devliving%3Apasscodeview/images/download.svg) ](https://bintray.com/iammehedi/Maven/online.devliving%3Apasscodeview/_latestVersion)\n\nAn android widget to input passcode.\n\n## Setup\n### Maven\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003eonline.devliving\u003c/groupId\u003e\n  \u003cartifactId\u003epasscodeview\u003c/artifactId\u003e\n  \u003cversion\u003e1.0.3\u003c/version\u003e\n  \u003ctype\u003epom\u003c/type\u003e\n\u003c/dependency\u003e\n```\n### Gradle\n```groovy\ncompile 'online.devliving:passcodeview:1.0.3'\n```\n\n## Usage\n`PasscodeView` is a `ViewGroup` subclass. So it can easily be added in any xml layout file.\n\n```xml\n\u003conline.devliving.passcodeview.PasscodeView\n        android:id=\"@+id/passcode_view\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:layout_gravity=\"center_horizontal\"\n        passcodeView:numDigits=\"5\"\n        android:layout_marginTop=\"@dimen/activity_vertical_margin\"\n        /\u003e\n```\n\n### Methods\n- `requestToShowKeyboard()` - Request the PasscodeView to be focused programmatically\n- `setText(CharSequence text)` - Set Passcode programmatically\n- `clearText()` - Clear Passcode\n- `getText()` - get entered Passcode\n- `setPasscodeEntryListener(PasscodeEntryListener mPasscodeEntryListener)` - Set a listener to get notified when the Passcode has been entered\n\n### Listener:`PasscodeEntryListener`\n- `onPasscodeEntered(String passcode)` - Called when all the digits of the passcode has been entered\n\n```java\npasscodeView.setPasscodeEntryListener(new PasscodeView.PasscodeEntryListener() {\n            @Override\n            public void onPasscodeEntered(String passcode) {\n                Toast.makeText(SampleActivity.this, \"Passcode entered: \" + passcode, Toast.LENGTH_SHORT).show();\n            }\n        });\n```\n\n### XML Attributes\n- `numDigits` - Number of passcode digits\n- `digitElevation` - Elevation of each digit, only applicable for OS version \u003e= Lollipop\n- `digitRadius` - radius for digit circle `16dip` by default\n- `digitInnerRadius` - radius for digit inner circle `10dip` by default\n- `controlColor` - color of the outer circle in normal state, by default `android:colorControlNormal`\n- `controlColorActivated` - color of outer circle when focused, by default `android:colorControlHighlighted`\n- `digitColorFilled` - fill color of the inner circle, by default `android:colorPrimary`\n- `digitColorBorder` - border color of the inner circle, by default `android:colorPrimaryDark`\n\n## Demo\n![image](demo.gif)\n\n## License\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiammehedi%2Fpasscodeview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiammehedi%2Fpasscodeview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiammehedi%2Fpasscodeview/lists"}