From 51d99a9c4a855941e0664df7f94f8d6516c257f3 Mon Sep 17 00:00:00 2001 From: Sagar Dagdu Date: Wed, 12 Nov 2025 14:34:48 +0530 Subject: [PATCH] Add iPhone 16, 17, and Air models to device lists Updated devices/iPhone.json to include new iPhone models: iPhone 16, 16 Plus, 16 Pro, 16 Pro Max, 16e, 17, 17 Pro, 17 Pro Max, and iPhone Air, and also ran the build command to add it to the generated files --- devices.json | 9 +++++++++ devices/iPhone.json | 13 ++++++++++++- ids.json | 9 +++++++++ mod.ts | 20 +++++++++++++++++++- 4 files changed, 49 insertions(+), 2 deletions(-) diff --git a/devices.json b/devices.json index 539d030..44229ab 100644 --- a/devices.json +++ b/devices.json @@ -223,6 +223,15 @@ "iPhone 15 Plus": "iPhone15,5", "iPhone 15 Pro": "iPhone16,1", "iPhone 15 Pro Max": "iPhone16,2", + "iPhone 16": "iPhone17,3", + "iPhone 16 Plus": "iPhone17,4", + "iPhone 16 Pro": "iPhone17,1", + "iPhone 16 Pro Max": "iPhone17,2", + "iPhone 16e": "iPhone17,5", + "iPhone 17": "iPhone18,3", + "iPhone 17 Pro": "iPhone18,1", + "iPhone 17 Pro Max": "iPhone18,2", + "iPhone Air": "iPhone18,4", "iPod touch (1st generation)": "iPod1,1", "iPod touch (2nd generation)": "iPod2,1", "iPod touch (3rd generation)": "iPod3,1", diff --git a/devices/iPhone.json b/devices/iPhone.json index 81c0ad6..6ab7f38 100644 --- a/devices/iPhone.json +++ b/devices/iPhone.json @@ -65,5 +65,16 @@ "iPhone 15": "iPhone15,4", "iPhone 15 Plus": "iPhone15,5", "iPhone 15 Pro": "iPhone16,1", - "iPhone 15 Pro Max": "iPhone16,2" + "iPhone 15 Pro Max": "iPhone16,2", + + "iPhone 16": "iPhone17,3", + "iPhone 16 Plus": "iPhone17,4", + "iPhone 16 Pro": "iPhone17,1", + "iPhone 16 Pro Max": "iPhone17,2", + "iPhone 16e": "iPhone17,5", + + "iPhone 17": "iPhone18,3", + "iPhone 17 Pro": "iPhone18,1", + "iPhone 17 Pro Max": "iPhone18,2", + "iPhone Air": "iPhone18,4" } diff --git a/ids.json b/ids.json index 591ab44..18ab8bb 100644 --- a/ids.json +++ b/ids.json @@ -228,6 +228,15 @@ "iPhone15,5": ["iPhone 15 Plus"], "iPhone16,1": ["iPhone 15 Pro"], "iPhone16,2": ["iPhone 15 Pro Max"], + "iPhone17,3": ["iPhone 16"], + "iPhone17,4": ["iPhone 16 Plus"], + "iPhone17,1": ["iPhone 16 Pro"], + "iPhone17,2": ["iPhone 16 Pro Max"], + "iPhone17,5": ["iPhone 16e"], + "iPhone18,3": ["iPhone 17"], + "iPhone18,1": ["iPhone 17 Pro"], + "iPhone18,2": ["iPhone 17 Pro Max"], + "iPhone18,4": ["iPhone Air"], "iPod1,1": ["iPod touch (1st generation)"], "iPod2,1": ["iPod touch (2nd generation)"], "iPod3,1": ["iPod touch (3rd generation)"], diff --git a/mod.ts b/mod.ts index 5355b63..6762e1c 100644 --- a/mod.ts +++ b/mod.ts @@ -1,5 +1,5 @@ /** - * This file was generated automatically on 2023-10-01. + * This file was generated automatically on 2025-11-12. * * @module */ @@ -232,6 +232,15 @@ export const devices = { "iPhone 15 Plus": "iPhone15,5", "iPhone 15 Pro": "iPhone16,1", "iPhone 15 Pro Max": "iPhone16,2", + "iPhone 16": "iPhone17,3", + "iPhone 16 Plus": "iPhone17,4", + "iPhone 16 Pro": "iPhone17,1", + "iPhone 16 Pro Max": "iPhone17,2", + "iPhone 16e": "iPhone17,5", + "iPhone 17": "iPhone18,3", + "iPhone 17 Pro": "iPhone18,1", + "iPhone 17 Pro Max": "iPhone18,2", + "iPhone Air": "iPhone18,4", "iPod touch (1st generation)": "iPod1,1", "iPod touch (2nd generation)": "iPod2,1", "iPod touch (3rd generation)": "iPod3,1", @@ -576,6 +585,15 @@ export const identifiers = { "iPhone15,5": ["iPhone 15 Plus"], "iPhone16,1": ["iPhone 15 Pro"], "iPhone16,2": ["iPhone 15 Pro Max"], + "iPhone17,3": ["iPhone 16"], + "iPhone17,4": ["iPhone 16 Plus"], + "iPhone17,1": ["iPhone 16 Pro"], + "iPhone17,2": ["iPhone 16 Pro Max"], + "iPhone17,5": ["iPhone 16e"], + "iPhone18,3": ["iPhone 17"], + "iPhone18,1": ["iPhone 17 Pro"], + "iPhone18,2": ["iPhone 17 Pro Max"], + "iPhone18,4": ["iPhone Air"], "iPod1,1": ["iPod touch (1st generation)"], "iPod2,1": ["iPod touch (2nd generation)"], "iPod3,1": ["iPod touch (3rd generation)"],