Open dseeker opened 5 years ago
added this to line 73 of NatDeviceInfo.m, it works now
@"iPhone11,2": @"iPhone XS",
@"iPhone11,4": @"iPhone XS Max",
@"iPhone11,6": @"iPhone XS Max",
@"iPhone11,8": @"iPhone XR",
but for the future it would be good to have a function that can return "unknown" when a new device is released
using device info for weex ios app, works fine in iOS12 for other models, but for XR it crashes, most likely due to unexpected version of the phone?