{"id":32302397,"url":"https://github.com/printeastwoodcz/flutter_credential_plugin","last_synced_at":"2026-02-22T18:03:17.374Z","repository":{"id":56829266,"uuid":"303904640","full_name":"printeastwoodcz/flutter_credential_plugin","owner":"printeastwoodcz","description":"Credential picker for Google Service","archived":false,"fork":false,"pushed_at":"2020-10-15T05:46:54.000Z","size":69,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-23T05:59:38.242Z","etag":null,"topics":["account","accounts","android","email","flutter","google","googleservice","phonenumber","phonenumber-scrapping"],"latest_commit_sha":null,"homepage":"","language":"Dart","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/printeastwoodcz.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}},"created_at":"2020-10-14T04:41:27.000Z","updated_at":"2025-05-02T16:22:30.000Z","dependencies_parsed_at":"2022-08-26T13:51:20.237Z","dependency_job_id":null,"html_url":"https://github.com/printeastwoodcz/flutter_credential_plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/printeastwoodcz/flutter_credential_plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/printeastwoodcz%2Fflutter_credential_plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/printeastwoodcz%2Fflutter_credential_plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/printeastwoodcz%2Fflutter_credential_plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/printeastwoodcz%2Fflutter_credential_plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/printeastwoodcz","download_url":"https://codeload.github.com/printeastwoodcz/flutter_credential_plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/printeastwoodcz%2Fflutter_credential_plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29721056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T15:10:41.462Z","status":"ssl_error","status_checked_at":"2026-02-22T15:10:04.636Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["account","accounts","android","email","flutter","google","googleservice","phonenumber","phonenumber-scrapping"],"created_at":"2025-10-23T05:59:30.007Z","updated_at":"2026-02-22T18:03:17.331Z","avatar_url":"https://github.com/printeastwoodcz.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flutter_credential_picker\n\n**Credential picker for Google Service**\n\nYou can get your phone number without adding a phone permission to your app. Also you can get email or account info directly from your phone.\n\n## Supported platforms\n\nThis picker is **Android only**\n\n## Getting Started\n\n\nadd plugin to your pubspec.yaml\n\n```yaml\nflutter_credential_picker: ^0.0.1\n```\n## Implementation\n### Get Phone number\n```dart\nCredentialPicker.pickPhoneNumber().then((value)=\u003e setState((){\n    _credential = value\n}));\n```\nor\n```dart\ntry{\n    final result = CredentialPicker.pickPhoneNumber();\n    setState((){\n        _credential = result\n    }\n} on NotFoundException catch(_){\n    ...\n}\n} on AccountsNotFound catch(_){\n    ...\n}\n} on NotSupportedPlatform catch(_){\n    ...\n}\n} on MissingGoogleService catch(_){\n    ...\n}\n```\n\n### Get Email address\n```dart\nCredentialPicker.pickEmail().then((value)=\u003e setState((){\n    _credential = value\n}));\n```\nor\n```dart\ntry{\n    final result = CredentialPicker.pickEmail();\n    setState((){\n        _credential = result\n    }\n} on NotFoundException catch(_){\n    ...\n}\n} on AccountsNotFound catch(_){\n    ...\n}\n} on NotSupportedPlatform catch(_){\n    ...\n}\n} on MissingGoogleService catch(_){\n    ...\n}\n```\n\n### Get Account\n\nYou can specify account types query, default value is AccountType.google only\n\n```dart\n/// default accountTypes is [AccountType.google]\nCredentialPicker.pickGoogleAccount().then((value)=\u003e setState((){\n    _credential = value\n}));\n/// or you can add more supported account types as list\nCredentialPicker.pickGoogleAccount(accountTypes: [\n                              AccountType.google,\n                              AccountType.facebook,\n                              AccountType.twitter,\n                              AccountType.microsoft\n                            ]).then((value)=\u003e setState((){\n    _credential = value\n}));\n```\n\nor\n```dart\ntry{\n    final result = CredentialPicker.pickGoogleAccount(accountTypes: [\n                              AccountType.google,\n                              AccountType.facebook,\n                              AccountType.twitter,\n                              AccountType.microsoft\n                            ]);\n    setState((){\n        _credential = result\n    }\n} on NotFoundException catch(_){\n    ...\n}\n} on AccountsNotFound catch(_){\n    ...\n}\n} on NotSupportedPlatform catch(_){\n    ...\n}\n} on MissingGoogleService catch(_){\n    ...\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprinteastwoodcz%2Fflutter_credential_plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprinteastwoodcz%2Fflutter_credential_plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprinteastwoodcz%2Fflutter_credential_plugin/lists"}