Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added device id for iPhone 12 #23

Merged
merged 2 commits into from
Nov 19, 2020
Merged

Conversation

gitsino
Copy link
Contributor

@gitsino gitsino commented Nov 19, 2020

No description provided.

@gitsino gitsino merged commit 06406bc into master Nov 19, 2020
@gitsino gitsino deleted the fixes/add-definition-for-iphone-12 branch November 19, 2020 09:02
@@ -175,7 +175,7 @@ + (BOOL)deviceSupportsAuthenticationWithFaceID
return YES;
}

NSArray *faceIdDevices = @[@"iPhone10,3", @"iPhone10,6", @"iPhone11,2", @"iPhone11,4", @"iPhone11,6", @"iPhone11,8", @"iPhone12,1", @"iPhone12,3", @"iPhone12,5", @"iPhone13,1", @"iPhone13,3", @"iPhone13,4", @"iPad8,9", @"iPad8,1", @"iPad8,2", @"iPad8,3", @"iPad8,4", @"iPad8,5", @"iPad8,6", @"iPad8,7", @"iPad8,8", @"iPad8,9", @"iPad8,10", @"iPad8,11", @"iPad8,12"];
NSArray *faceIdDevices = @[@"iPhone10,3", @"iPhone10,6", @"iPhone11,2", @"iPhone11,4", @"iPhone11,6", @"iPhone11,8", @"iPhone12,1", @"iPhone12,3", @"iPhone12,5", @"iPhone13,1", @"iPhone13,2", @"iPhone13,3", @"iPhone13,4", @"iPad8,9", @"iPad8,1", @"iPad8,2", @"iPad8,3", @"iPad8,4", @"iPad8,5", @"iPad8,6", @"iPad8,7", @"iPad8,8", @"iPad8,9", @"iPad8,10", @"iPad8,11", @"iPad8,12"];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
NSArray *faceIdDevices = @[@"iPhone10,3", @"iPhone10,6", @"iPhone11,2", @"iPhone11,4", @"iPhone11,6", @"iPhone11,8", @"iPhone12,1", @"iPhone12,3", @"iPhone12,5", @"iPhone13,1", @"iPhone13,2", @"iPhone13,3", @"iPhone13,4", @"iPad8,9", @"iPad8,1", @"iPad8,2", @"iPad8,3", @"iPad8,4", @"iPad8,5", @"iPad8,6", @"iPad8,7", @"iPad8,8", @"iPad8,9", @"iPad8,10", @"iPad8,11", @"iPad8,12"];
NSArray *faceIdDevices = @[
@"iPhone10,3", // iPhone X Global
@"iPhone10,6", // iPhone X GSM
@"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
@"iPhone13,1", // iPhone 12 Mini
@"iPhone13,2", // iPhone 12
@"iPhone13,3", // iPhone 12 Pro
@"iPhone13,4", // iPhone 12 Pro Max
@"iPad8,1", // iPad Pro 11 inch 3rd Gen (WiFi)
@"iPad8,2", // iPad Pro 11 inch 3rd Gen (1TB, WiFi)
@"iPad8,3", // iPad Pro 11 inch 3rd Gen (WiFi+Cellular)
@"iPad8,4", // iPad Pro 11 inch 3rd Gen (1TB, WiFi+Cellular)
@"iPad8,5", // iPad Pro 12.9 inch 3rd Gen (WiFi)
@"iPad8,6", // iPad Pro 12.9 inch 3rd Gen (1TB, WiFi)
@"iPad8,7", // iPad Pro 12.9 inch 3rd Gen (WiFi+Cellular)
@"iPad8,8", // iPad Pro 12.9 inch 3rd Gen (1TB, WiFi+Cellular)
@"iPad8,9", // iPad Pro 11 inch 4th Gen (WiFi)
@"iPad8,10", // iPad Pro 11 inch 4th Gen (WiFi+Cellular)
@"iPad8,11", // iPad Pro 12.9 inch 4th Gen (WiFi)
@"iPad8,12" // iPad Pro 12.9 inch 4th Gen (WiFi+Cellular)
];

You have iPad8,9 twice, and it would be great to add their names to their codenames :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants