Chinese iOS 10 devices don't prompt users to allow cellular data usage for new apps

Originator:an00na
Number:rdar://30464604 Date Originated:10-Feb-2017 09:48 AM
Status:Open Resolved:
Product:iOS + SDK Product Version:10
Classification:Serious Bug Reproducible:Sometimes
 
Area:
Cellular Service (Calls / Data)

Summary:
As far as I know this bug only occurs on Chinese devices, but is a very serious one nevertheless.

Sometimes Chinese iOS 10 devices don't prompt users to allow cellular data usage for newly installed apps, which causes all network requests to fail in these apps with this error:

Error Domain=NSURLErrorDomain Code=-1009 "The Internet connection appears to be offline." UserInfo={NSUnderlyingError=0x17405a6d0 {Error Domain=kCFErrorDomainCFNetwork Code=-1009 "(null)" UserInfo={_kCFStreamErrorCodeKey=50, _kCFStreamErrorDomainKey=1}}, NSErrorFailingURLStringKey=xxx, NSErrorFailingURLKey=hxxx, _kCFStreamErrorDomainKey=1, _kCFStreamErrorCodeKey=50, NSLocalizedDescription=The Internet connection appears to be offline.}

When a device is in this state the newly installed apps don't show up in system Cellular settings. Neither Cellular Data option appears in the apps' settings in system Settings. So there is no way for users to enable cellular data usage for these apps.

One solution is to restart the device. There are other solutions mentioned in this Chinese article: http://www.jianshu.com/p/28e8919a2cae.

Comments

I am getting this error for network calls mostly in iOS 12.

By k.rajesh966 at Jan. 31, 2019, 1:43 p.m. (reply...)

致中国开发者

我没有国行机,无法提供 Apple 需要的信息。如果你的 app 遇到同样的 bug,并且你有可以重现此 bug 的测试设备,请根据如下说明采集信息。然后用 http://www.quickradar.com 复制此 radar(File a Duplicate),并附上你搜集的数据。


Engineering has requested the following information in order to further investigate this issue:

Please collect Baseband logs along with the date and time the issue occurred and a screenshot if the bug can be seen visually and attach them to your bug report.

Important: Note the date and time the issue occurred and include this information in your bug report.

iOS Baseband Logging Instructions: https://developer.apple.com/services-account/download?path=/iOS/iOS_Logs/Baseband_Logging_Instructions.pdf

iOS Baseband Logging Profile: https://developer.apple.com/services-account/download?path=/iOS/iOS_Logs/Baseband.mobileconfig

Screenshot and Screen Recording Instructions: https://developer.apple.com/services-account/download?path=/iOS/iOS_Logs/Screenshots_and_Screen_Recordings_Instructions.pdf


For a complete list of logging instructions visit: https://developer.apple.com/bug-reporting/profiles-and-logs/


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!