{"id":27365410,"url":"https://github.com/boehrsi/device_identifiers","last_synced_at":"2025-07-08T05:16:45.168Z","repository":{"id":47459798,"uuid":"423142255","full_name":"Boehrsi/device_identifiers","owner":"Boehrsi","description":"Marketing device name lookups for Android and iOS.","archived":false,"fork":false,"pushed_at":"2025-04-13T03:44:03.000Z","size":58708,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-13T05:46:29.295Z","etag":null,"topics":["android","dart","flutter","ios","kotlin","script"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Boehrsi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2021-10-31T12:30:41.000Z","updated_at":"2025-04-13T03:44:07.000Z","dependencies_parsed_at":"2023-09-24T05:15:45.477Z","dependency_job_id":"3487f4b6-fb00-48d6-acb0-1b88850ba761","html_url":"https://github.com/Boehrsi/device_identifiers","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Boehrsi%2Fdevice_identifiers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Boehrsi%2Fdevice_identifiers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Boehrsi%2Fdevice_identifiers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Boehrsi%2Fdevice_identifiers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Boehrsi","download_url":"https://codeload.github.com/Boehrsi/device_identifiers/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248670511,"owners_count":21142901,"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","ios","kotlin","script"],"created_at":"2025-04-13T05:46:32.905Z","updated_at":"2025-07-08T05:16:45.161Z","avatar_url":"https://github.com/Boehrsi.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Device Identifiers\n\nA Dart script which fetches Android and iOS device information. Generates directly usable code, which maps the device model to the corresponding device name(s).\n\n\u003ca href=\"https://idx.google.com/import?url=https://github.com/Boehrsi/device_identifiers\"\u003e\n  \u003cpicture\u003e\n    \u003csource\n      media=\"(prefers-color-scheme: dark)\"\n      srcset=\"https://cdn.idx.dev/btn/open_dark_32.svg\"\u003e\n    \u003csource\n      media=\"(prefers-color-scheme: light)\"\n      srcset=\"https://cdn.idx.dev/btn/open_light_32.svg\"\u003e\n    \u003cimg\n      height=\"32\"\n      alt=\"Open in IDX\"\n      src=\"https://cdn.idx.dev/btn/open_purple_32.svg\"\u003e\n  \u003c/picture\u003e\n\u003c/a\u003e\n\n## Supported output languages\n\n- **Dart / Flutter**: https://github.com/Boehrsi/device_identifiers/blob/main/output/device_identifiers.dart\n- **Kotlin**: https://github.com/Boehrsi/device_identifiers/blob/main/output/DeviceIdentifiers.kt\n  - Required changes: Adjust the `package` to match your project\n\n## Usage\n- **Android**: Use the `lookupAndroidName()` method with the key obtained via `Build.MODEL` (https://developer.android.com/reference/android/os/Build#MODEL)\n- **iOS**: Use the `lookupIosName()` method with the key obtained via `utsname.machine`\n\n## Sources\n\n- **iOS**: https://github.com/kyle-seongwoo-jun/apple-device-identifiers\n- **Android**: https://storage.googleapis.com/play_public/supported_devices.html (via https://support.google.com/googleplay/answer/1727131?hl=en)\n\n## Used in\n\n- https://github.com/Boehrsi/DeviceMarketingNames (Android library)\n- https://github.com/Boehrsi/device_marketing_names (Flutter library)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboehrsi%2Fdevice_identifiers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboehrsi%2Fdevice_identifiers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboehrsi%2Fdevice_identifiers/lists"}