Skip to content
This repository has been archived by the owner on Jun 5, 2021. It is now read-only.

Commit

Permalink
Adding latest devices to the list (#4)
Browse files Browse the repository at this point in the history
* Adding latest devices to the list

* Update FlutterUserAgentPlugin.m
  • Loading branch information
pravinarr authored and j0j00 committed Oct 10, 2019
1 parent 1081472 commit 2b9829e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ios/Classes/FlutterUserAgentPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,13 @@ - (NSString *)deviceName
@"iPhone10,5":@"iPhone/8_Plus", // (model A1897)
@"iPhone10,3":@"iPhone/X", // (model A1865, A1902)
@"iPhone10,6":@"iPhone/X", // (model A1901)
@"iPhone11,2":@"iPhone/XS",
@"iPhone11,4":@"iPhone/XS_Max",
@"iPhone11,6":@"iPhone/XS_Max_Global",
@"iPhone11,8":@"iPhone/XR",
@"iPhone12,1":@"iPhone/11",
@"iPhone12,3":@"iPhone/11_Pro",
@"iPhone12,5":@"iPhone/11_Pro_Max",
@"AppleTV2,1":@"AppleTV", // Apple TV (2nd Generation)
@"AppleTV3,1":@"AppleTV", // Apple TV (3rd Generation)
@"AppleTV3,2":@"AppleTV", // Apple TV (3rd Generation - Rev A)
Expand Down

0 comments on commit 2b9829e

Please sign in to comment.