You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
callback(nil, [NSErrorerrorWithDomain:@"ALReactDomain"code:100userInfo:@{@"Error reason": @"NFC passport reading is not supported on this device or app."}]);
30
+
callback(nil, [NSErrorerrorWithDomain:@"ALReactDomain"code:100userInfo:@{NSLocalizedDescriptionKey: @"NFC passport reading is not supported on this device or app."}]);
callback(nil,[NSErrorerrorWithDomain:@"ALReactDomain"code:100userInfo:@{@"Error reason": @"NFC passport reading is only supported on iOS 13 and later."}]);
46
+
callback(nil,[NSErrorerrorWithDomain:@"ALReactDomain"code:100userInfo:@{NSLocalizedDescriptionKey: @"NFC passport reading is only supported on iOS 13 and later."}]);
[selfreturnError:[NSErrorerrorWithDomain:@"ALReactDomain"code:100userInfo:@{@"Error reason": @"NFC passport reading is not supported on this device or app."}]];
184
+
[selfreturnError:[NSErrorerrorWithDomain:@"ALReactDomain"code:100userInfo:@{NSLocalizedDescriptionKey: @"NFC passport reading is not supported on this device or app."}]];
185
185
}
186
186
} else {
187
-
[selfreturnError:[NSErrorerrorWithDomain:@"ALReactDomain"code:100userInfo:@{@"Error reason": @"NFC passport reading is only supported on iOS 13 and later."}]];
187
+
[selfreturnError:[NSErrorerrorWithDomain:@"ALReactDomain"code:100userInfo:@{NSLocalizedDescriptionKey: @"NFC passport reading is only supported on iOS 13 and later."}]];
0 commit comments