From 2b9829ec125fa26110869e60fc69caffd9ad3fdd Mon Sep 17 00:00:00 2001 From: Praveenkumar Ramasamy Date: Thu, 10 Oct 2019 12:42:58 -0700 Subject: [PATCH] Adding latest devices to the list (#4) * Adding latest devices to the list * Update FlutterUserAgentPlugin.m --- ios/Classes/FlutterUserAgentPlugin.m | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ios/Classes/FlutterUserAgentPlugin.m b/ios/Classes/FlutterUserAgentPlugin.m index 8657410..7ec2816 100644 --- a/ios/Classes/FlutterUserAgentPlugin.m +++ b/ios/Classes/FlutterUserAgentPlugin.m @@ -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)