ios-device-list.tsx 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
  2. // generated using scripts/extract-ios-device-names.ts as part of build step.
  3. // the purpose of the script is to extract only the iOS information that Sentry cares about
  4. // and discard the rest of the JSON so we do not end up bloating bundle size.
  5. // see https://theapplewiki.com/wiki/models
  6. const iOSDeviceMapping: Record<string, string> = {
  7. // iPod touch
  8. 'iPod1,1': 'iPod touch',
  9. 'iPod2,1': 'iPod touch (2nd generation)',
  10. 'iPod3,1': 'iPod touch (3rd generation)',
  11. 'iPod4,1': 'iPod touch (4th generation)',
  12. 'iPod5,1': 'iPod touch (5th generation)',
  13. 'iPod7,1': 'iPod touch (6th generation)',
  14. 'iPod9,1': 'iPod touch (7th generation)',
  15. // iPhone
  16. 'iPhone1,1': 'iPhone',
  17. 'iPhone1,2': 'iPhone 3G',
  18. 'iPhone2,1': 'iPhone 3GS',
  19. 'iPhone3,1': 'iPhone 4',
  20. 'iPhone3,2': 'iPhone 4',
  21. 'iPhone3,3': 'iPhone 4',
  22. 'iPhone4,1': 'iPhone 4S',
  23. 'iPhone5,1': 'iPhone 5',
  24. 'iPhone5,2': 'iPhone 5',
  25. 'iPhone5,3': 'iPhone 5c',
  26. 'iPhone5,4': 'iPhone 5c',
  27. 'iPhone6,1': 'iPhone 5s',
  28. 'iPhone6,2': 'iPhone 5s',
  29. 'iPhone8,4': 'iPhone SE (1st generation)',
  30. 'iPhone7,2': 'iPhone 6',
  31. 'iPhone7,1': 'iPhone 6 Plus',
  32. 'iPhone8,1': 'iPhone 6s',
  33. 'iPhone8,2': 'iPhone 6s Plus',
  34. 'iPhone9,1': 'iPhone 7',
  35. 'iPhone9,3': 'iPhone 7',
  36. 'iPhone9,2': 'iPhone 7 Plus',
  37. 'iPhone9,4': 'iPhone 7 Plus',
  38. 'iPhone10,1': 'iPhone 8',
  39. 'iPhone10,4': 'iPhone 8',
  40. 'iPhone10,2': 'iPhone 8 Plus',
  41. 'iPhone10,5': 'iPhone 8 Plus',
  42. 'iPhone10,3': 'iPhone X',
  43. 'iPhone10,6': 'iPhone X',
  44. 'iPhone11,8': 'iPhone XR',
  45. 'iPhone11,2': 'iPhone XS',
  46. 'iPhone11,6': 'iPhone XS Max',
  47. 'iPhone11,4': 'iPhone XS Max',
  48. 'iPhone12,1': 'iPhone 11',
  49. 'iPhone12,3': 'iPhone 11 Pro',
  50. 'iPhone12,5': 'iPhone 11 Pro Max',
  51. 'iPhone12,8': 'iPhone SE (2nd generation)',
  52. 'iPhone13,1': 'iPhone 12 mini',
  53. 'iPhone13,2': 'iPhone 12',
  54. 'iPhone13,3': 'iPhone 12 Pro',
  55. 'iPhone13,4': 'iPhone 12 Pro Max',
  56. 'iPhone14,4': 'iPhone 13 mini',
  57. 'iPhone14,5': 'iPhone 13',
  58. 'iPhone14,2': 'iPhone 13 Pro',
  59. 'iPhone14,3': 'iPhone 13 Pro Max',
  60. 'iPhone14,6': 'iPhone SE (3rd generation)',
  61. 'iPhone14,7': 'iPhone 14',
  62. 'iPhone14,8': 'iPhone 14 Plus',
  63. 'iPhone15,2': 'iPhone 14 Pro',
  64. 'iPhone15,3': 'iPhone 14 Pro Max',
  65. 'iPhone15,4': 'iPhone 15',
  66. 'iPhone15,5': 'iPhone 15 Plus',
  67. 'iPhone16,1': 'iPhone 15 Pro',
  68. 'iPhone16,2': 'iPhone 15 Pro Max',
  69. 'iPhone17,1': 'iPhone 16 Pro',
  70. 'iPhone17,2': 'iPhone 16 Pro Max',
  71. 'iPhone17,3': 'iPhone 16',
  72. 'iPhone17,4': 'iPhone 16 Plus',
  73. // iPad Pro
  74. 'iPad6,7': 'iPad Pro (12.9-inch)',
  75. 'iPad6,8': 'iPad Pro (12.9-inch)',
  76. 'iPad6,3': 'iPad Pro (9.7-inch)',
  77. 'iPad6,4': 'iPad Pro (9.7-inch)',
  78. 'iPad7,1': 'iPad Pro (12.9-inch, 2nd generation)',
  79. 'iPad7,2': 'iPad Pro (12.9-inch, 2nd generation)',
  80. 'iPad7,3': 'iPad Pro (10.5-inch)',
  81. 'iPad7,4': 'iPad Pro (10.5-inch)',
  82. 'iPad8,1': 'iPad Pro (11-inch)',
  83. 'iPad8,2': 'iPad Pro (11-inch)',
  84. 'iPad8,3': 'iPad Pro (11-inch)',
  85. 'iPad8,4': 'iPad Pro (11-inch)',
  86. 'iPad8,5': 'iPad Pro (12.9-inch) (3rd generation)',
  87. 'iPad8,6': 'iPad Pro (12.9-inch) (3rd generation)',
  88. 'iPad8,7': 'iPad Pro (12.9-inch) (3rd generation)',
  89. 'iPad8,8': 'iPad Pro (12.9-inch) (3rd generation)',
  90. 'iPad8,9': 'iPad Pro (11-inch) (2nd generation)',
  91. 'iPad8,10': 'iPad Pro (11-inch) (2nd generation)',
  92. 'iPad8,11': 'iPad Pro (12.9-inch) (4th generation)',
  93. 'iPad8,12': 'iPad Pro (12.9-inch) (4th generation)',
  94. 'iPad13,4': 'iPad Pro (11-inch) (3rd generation)',
  95. 'iPad13,5': 'iPad Pro (11-inch) (3rd generation)',
  96. 'iPad13,6': 'iPad Pro (11-inch) (3rd generation)',
  97. 'iPad13,7': 'iPad Pro (11-inch) (3rd generation)',
  98. 'iPad14,3': 'iPad Pro (11-inch) (4th generation)',
  99. 'iPad14,4': 'iPad Pro (11-inch) (4th generation)',
  100. 'iPad13,8': 'iPad Pro (12.9-inch) (5th generation)',
  101. 'iPad13,9': 'iPad Pro (12.9-inch) (5th generation)',
  102. 'iPad13,10': 'iPad Pro (12.9-inch) (5th generation)',
  103. 'iPad13,11': 'iPad Pro (12.9-inch) (5th generation)',
  104. 'iPad14,5': 'iPad Pro (12.9-inch) (6th generation)',
  105. 'iPad14,6': 'iPad Pro (12.9-inch) (6th generation)',
  106. 'iPad16,3': 'iPad Pro (11-inch) (5th generation)',
  107. 'iPad16,4': 'iPad Pro (11-inch) (5th generation)',
  108. 'iPad16,5': 'iPad Pro (12.9-inch) (7th generation)',
  109. 'iPad16,6': 'iPad Pro (12.9-inch) (7th generation)',
  110. // iPad mini
  111. 'iPad2,5': 'iPad mini',
  112. 'iPad2,6': 'iPad mini',
  113. 'iPad2,7': 'iPad mini',
  114. 'iPad4,4': 'iPad mini 2',
  115. 'iPad4,5': 'iPad mini 2',
  116. 'iPad4,6': 'iPad mini 2',
  117. 'iPad4,7': 'iPad mini 3',
  118. 'iPad4,8': 'iPad mini 3',
  119. 'iPad4,9': 'iPad mini 3',
  120. 'iPad5,1': 'iPad mini 4',
  121. 'iPad5,2': 'iPad mini 4',
  122. 'iPad11,1': 'iPad mini (5th generation)',
  123. 'iPad11,2': 'iPad mini (5th generation)',
  124. 'iPad14,1': 'iPad mini (6th generation)',
  125. 'iPad14,2': 'iPad mini (6th generation)',
  126. // iPad Air
  127. 'iPad4,1': 'iPad Air',
  128. 'iPad4,2': 'iPad Air',
  129. 'iPad4,3': 'iPad Air',
  130. 'iPad5,3': 'iPad Air 2',
  131. 'iPad5,4': 'iPad Air 2',
  132. 'iPad11,3': 'iPad Air (3rd generation)',
  133. 'iPad11,4': 'iPad Air (3rd generation)',
  134. 'iPad13,1': 'iPad Air (4th generation)',
  135. 'iPad13,2': 'iPad Air (4th generation)',
  136. 'iPad13,16': 'iPad Air (5th generation)',
  137. 'iPad13,17': 'iPad Air (5th generation)',
  138. 'iPad14,8': 'iPad Air (6th generation)',
  139. 'iPad14,9': 'iPad Air (6th generation)',
  140. 'iPad14,10': 'iPad Air (7th generation)',
  141. 'iPad14,11': 'iPad Air (7th generation)',
  142. // iPad
  143. 'iPad1,1': 'iPad',
  144. 'iPad2,1': 'iPad 2',
  145. 'iPad2,2': 'iPad 2',
  146. 'iPad2,3': 'iPad 2',
  147. 'iPad2,4': 'iPad 2',
  148. 'iPad3,1': 'iPad (3rd generation)',
  149. 'iPad3,2': 'iPad (3rd generation)',
  150. 'iPad3,3': 'iPad (3rd generation)',
  151. 'iPad3,4': 'iPad (4th generation)',
  152. 'iPad3,5': 'iPad (4th generation)',
  153. 'iPad3,6': 'iPad (4th generation)',
  154. 'iPad6,11': 'iPad (5th generation)',
  155. 'iPad6,12': 'iPad (5th generation)',
  156. 'iPad7,5': 'iPad (6th generation)',
  157. 'iPad7,6': 'iPad (6th generation)',
  158. 'iPad7,11': 'iPad (7th generation)',
  159. 'iPad7,12': 'iPad (7th generation)',
  160. 'iPad11,6': 'iPad (8th generation)',
  161. 'iPad11,7': 'iPad (8th generation)',
  162. 'iPad12,1': 'iPad (9th generation)',
  163. 'iPad12,2': 'iPad (9th generation)',
  164. 'iPad13,18': 'iPad (10th generation)',
  165. 'iPad13,19': 'iPad (10th generation)',
  166. // Apple Watch
  167. 'Watch1,1': 'Apple Watch (1st generation)',
  168. 'Watch1,2': 'Apple Watch (1st generation)',
  169. 'Watch2,6': 'Apple Watch Series 1',
  170. 'Watch2,7': 'Apple Watch Series 1',
  171. 'Watch2,3': 'Apple Watch Series 2',
  172. 'Watch2,4': 'Apple Watch Series 2',
  173. 'Watch3,1': 'Apple Watch Series 3',
  174. 'Watch3,2': 'Apple Watch Series 3',
  175. 'Watch3,3': 'Apple Watch Series 3',
  176. 'Watch3,4': 'Apple Watch Series 3',
  177. 'Watch4,1': 'Apple Watch Series 4',
  178. 'Watch4,2': 'Apple Watch Series 4',
  179. 'Watch4,3': 'Apple Watch Series 4',
  180. 'Watch4,4': 'Apple Watch Series 4',
  181. 'Watch5,1': 'Apple Watch Series 5',
  182. 'Watch5,2': 'Apple Watch Series 5',
  183. 'Watch5,3': 'Apple Watch Series 5',
  184. 'Watch5,4': 'Apple Watch Series 5',
  185. 'Watch5,9': 'Apple Watch SE',
  186. 'Watch5,10': 'Apple Watch SE',
  187. 'Watch5,11': 'Apple Watch SE',
  188. 'Watch5,12': 'Apple Watch SE',
  189. 'Watch6,1': 'Apple Watch Series 6',
  190. 'Watch6,2': 'Apple Watch Series 6',
  191. 'Watch6,3': 'Apple Watch Series 6',
  192. 'Watch6,4': 'Apple Watch Series 6',
  193. 'Watch6,6': 'Apple Watch Series 7',
  194. 'Watch6,7': 'Apple Watch Series 7',
  195. 'Watch6,8': 'Apple Watch Series 7',
  196. 'Watch6,9': 'Apple Watch Series 7',
  197. 'Watch6,10': 'Apple Watch SE (2nd generation)',
  198. 'Watch6,11': 'Apple Watch SE (2nd generation)',
  199. 'Watch6,12': 'Apple Watch SE (2nd generation)',
  200. 'Watch6,13': 'Apple Watch SE (2nd generation)',
  201. 'Watch6,14': 'Apple Watch Series 8',
  202. 'Watch6,15': 'Apple Watch Series 8',
  203. 'Watch6,16': 'Apple Watch Series 8',
  204. 'Watch6,17': 'Apple Watch Series 8',
  205. 'Watch6,18': 'Apple Watch Ultra',
  206. 'Watch7,1': 'Apple Watch Series 9',
  207. 'Watch7,2': 'Apple Watch Series 9',
  208. 'Watch7,4': 'Apple Watch Series 9',
  209. 'Watch7,3': 'Apple Watch Series 9',
  210. 'Watch7,5': 'Apple Watch Ultra 2',
  211. 'Watch7,8': 'Apple Watch Series 10',
  212. 'Watch7,9': 'Apple Watch Series 10',
  213. 'Watch7,10': 'Apple Watch Series 10',
  214. 'Watch7,11': 'Apple Watch Series 10',
  215. // Apple TV
  216. 'AppleTV1,1': 'Apple TV (1st generation)',
  217. 'AppleTV2,1': 'Apple TV (2nd generation)',
  218. 'AppleTV3,1': 'Apple TV (3rd generation)',
  219. 'AppleTV3,2': 'Apple TV (3rd generation)',
  220. 'AppleTV5,3': 'Apple TV (4th generation)',
  221. 'AppleTV6,2': 'Apple TV 4K',
  222. 'AppleTV11,1': 'Apple TV 4K (2nd generation)',
  223. 'AppleTV14,1': 'Apple TV 4K (3rd generation)',
  224. };
  225. export {iOSDeviceMapping};