Skip to content

Commit

Permalink
feat(ios): add iphone 12 models
Browse files Browse the repository at this point in the history
  • Loading branch information
sgtcoolguy committed Nov 5, 2020
1 parent 196e1ba commit 69bf699
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions common/Resources/ti.internal/extensions/node/os.js
Expand Up @@ -205,6 +205,14 @@ if (isIOS) {
// Now a giant hack for looking up CPU info for OS.cpus() on iOS
// https://www.theiphonewiki.com/wiki/List_of_iPhones
const AppleMap = {
// iPhone 12 Pro Max
'iPhone13,4': [ 'Apple A14 Bionic @ 2.99 GHz', 2990 ],
// iPhone 12 Pro
'iPhone13,3': [ 'Apple A14 Bionic @ 2.99 GHz', 2990 ],
// iPhone 12
'iPhone13,2': [ 'Apple A14 Bionic @ 2.99 GHz', 2990 ],
// iPhone 12 mini
'iPhone13,1': [ 'Apple A14 Bionic @ 2.99 GHz', 2990 ],
// iPhone SE (2nd gen)
'iPhone12,8': [ 'Apple A13 Bionic @ 2.66 GHz', 2660 ],
// iPhone 11 Pro Max
Expand Down

0 comments on commit 69bf699

Please sign in to comment.