{"id":16129648,"url":"https://github.com/kyle-seongwoo-jun/flutter_apple_product_name","last_synced_at":"2025-09-07T17:34:23.195Z","repository":{"id":56826189,"uuid":"386409479","full_name":"kyle-seongwoo-jun/flutter_apple_product_name","owner":"kyle-seongwoo-jun","description":"Library for translating Apple machine identifiers into Apple product names (e.g. 'iPhone15,2' to 'iPhone 14 Pro')","archived":false,"fork":false,"pushed_at":"2024-04-17T07:36:31.000Z","size":2723,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-04-24T06:44:45.367Z","etag":null,"topics":["apple","flutter","flutter-package","flutter-plugin","ios","macos","osx"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/apple_product_name","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/kyle-seongwoo-jun.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-15T20:00:52.000Z","updated_at":"2024-05-16T03:40:31.790Z","dependencies_parsed_at":"2024-09-16T15:28:37.881Z","dependency_job_id":null,"html_url":"https://github.com/kyle-seongwoo-jun/flutter_apple_product_name","commit_stats":{"total_commits":33,"total_committers":2,"mean_commits":16.5,"dds":"0.030303030303030276","last_synced_commit":"55b1aed0db1a5340bd2632c8289a3655f27f33d8"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/kyle-seongwoo-jun/flutter_apple_product_name","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyle-seongwoo-jun%2Fflutter_apple_product_name","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyle-seongwoo-jun%2Fflutter_apple_product_name/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyle-seongwoo-jun%2Fflutter_apple_product_name/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyle-seongwoo-jun%2Fflutter_apple_product_name/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kyle-seongwoo-jun","download_url":"https://codeload.github.com/kyle-seongwoo-jun/flutter_apple_product_name/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyle-seongwoo-jun%2Fflutter_apple_product_name/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274069369,"owners_count":25217113,"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-09-07T02:00:09.463Z","response_time":67,"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":["apple","flutter","flutter-package","flutter-plugin","ios","macos","osx"],"created_at":"2024-10-09T22:11:47.656Z","updated_at":"2025-09-07T17:34:23.018Z","avatar_url":"https://github.com/kyle-seongwoo-jun.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# apple_product_name\n\n[![pub package](https://badgen.net/pub/v/apple_product_name)](https://pub.dev/packages/apple_product_name)\n[![pub points](https://badgen.net/pub/points/apple_product_name?label=pub%20points)](https://pub.dev/packages/apple_product_name/score)\n[![pub downloads](https://badgen.net/pub/dm/apple_product_name)](https://pub.dev/packages/apple_product_name/score)\n[![flutter ci](https://github.com/kyle-seongwoo-jun/flutter_apple_product_name/actions/workflows/flutter.yml/badge.svg)](https://github.com/kyle-seongwoo-jun/flutter_apple_product_name/actions/workflows/flutter.yml)\n\nLibrary for translating Apple machine identifiers into Apple product names (e.g. `iPhone17,1` to `iPhone 16 Pro`)\n\n| iOS            | macOS            |\n| -------------- | ---------------- |\n| ![ios image][] | ![macos image][] |\n\n## Usage\n\nTranslates machine id to product name.\n\nYou can use this package with [device_info_plus](https://pub.dev/packages/device_info_plus) package.\n\n```dart\nimport 'package:apple_product_name/apple_product_name.dart';\nimport 'package:device_info_plus/device_info_plus.dart';\n\nif (Platform.isIOS) {\n  final info = await DeviceInfoPlugin().iosInfo;\n  print(info.utsname.machine);      // \"iPhone17,1\"\n  print(info.utsname.productName);  // \"iPhone 16 Pro\"\n} else if (Platform.isMacOS) {\n  final info = await DeviceInfoPlugin().macOsInfo;\n  print(info.model);        // \"Mac14,2\"\n  print(info.productName);  // \"MacBook Air (M2, 2022)\"\n}\n```\n\nOr you can use `AppleProductName` class directly without `device_info_plus` package.\n\n```dart\nAppleProductName().lookup('iPad16,5')\n// iPad Pro 13-inch (M4)\n```\n\n## Source\n\n- [kyle-seongwoo-jun/apple-device-identifiers](https://github.com/kyle-seongwoo-jun/apple-device-identifiers)\n\n[ios image]: https://raw.githubusercontent.com/kyle-seongwoo-jun/flutter_apple_product_name/main/images/ios.png\n[macos image]: https://raw.githubusercontent.com/kyle-seongwoo-jun/flutter_apple_product_name/main/images/macos.png\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyle-seongwoo-jun%2Fflutter_apple_product_name","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkyle-seongwoo-jun%2Fflutter_apple_product_name","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyle-seongwoo-jun%2Fflutter_apple_product_name/lists"}