FLUTTER ECOSYSTEM

kyle-seongwoo-jun/flutter_apple_product_name

Apple 기계 식별자를 Apple 제품 이름으로 변환하는 라이브러리 (예: 'iPhone17,1' → 'iPhone 16 Pro')

flutter_apple_product_name 프로젝트 이미지
Stars
17
Forks
3
최근 푸시(UTC)
2025. 9. 30.
프로젝트 상태
보관됨
Kyle Seongwoo Jun GitHub avatar
GITHUB User

Kyle Seongwoo Jun ↗

전성우입니다 😎

@poolix-incSeoul, South Korea공식 웹사이트 ↗
언어DartRubySwiftShellObjective-C

기술 주제

사용 중인 의존성

의존성 목록 3 개
  • flutter{"sdk":"flutter"}
  • device_info_plus>=10.0.0 <12.0.0
  • flutter_test개발 의존성{"sdk":"flutter"}

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

apple_product_name

pub package pub points pub downloads flutter ci

[!WARNING] This project is discontinued. We will no longer maintain it. (See #42)

You can get the product name from device_info_plus package. See Migration Guide for more details.

Library for translating Apple machine identifiers into Apple product names (e.g. iPhone17,1 to iPhone 16 Pro)

iOS macOS
ios image macos image

Usage

Translates machine id to product name.

You can use this package with device_info_plus package.

import 'package:apple_product_name/apple_product_name.dart';
import 'package:device_info_plus/device_info_plus.dart';

if (Platform.isIOS) {
  final info = await DeviceInfoPlugin().iosInfo;
  print(info.utsname.machine);      // "iPhone17,1"
  print(info.utsname.productName);  // "iPhone 16 Pro"
} else if (Platform.isMacOS) {
  final info = await DeviceInfoPlugin().macOsInfo;
  print(info.model);        // "Mac14,2"
  print(info.productName);  // "MacBook Air (M2, 2022)"
}

Or you can use AppleProductName class directly without device_info_plus package.

AppleProductName().lookup('iPad16,5')
// iPad Pro 13-inch (M4)

Source