Post

Replies

Boosts

Views

Activity

URLSession return NSURLErrorNotConnectedToInternet on 4G network
Hi, I have an app that has been online for a long time, but a very small number of users will respond with "-1009, the internet connection appears to be offline" error, but most users are normal, which may indicate that it is a device problem. The user's network uses 4G, and the user indicates that it is normal to connect to other apps. In my opinion, if my App uses URLSession to get this Error, other apps should also get it, and all apps cannot make network requests, but it is not. Currently I always ask users to restart the network or use wifi, but this may not solve this problem. Maybe the device has other network settings that can cause this problem? (The user did not use the flight mode) Anyone know any solutions or know this problem?
1
0
843
Jul ’21
URLSession sometimes return error -1003
Hi, I have an app on the AppStore, but a few times, I get reports from users that he gets -1003 "Could not find a server with the specified hostname" on a 4G network. I tested on my iphone app and the problem is normal. Knowing that -1003 doesn't happen to all users, maybe there is some setting on the phone that is causing this? Or is there a way to help the user to fix it (reboot or Wifi)? If anyone knows the problem please let me know, thanks.
1
0
1.6k
Mar ’22
Is It Possible to Restore Previous Browser State After openURL on iOS?
Hi Everyone, I’m currently working on a flow where a web page redirects to our app to perform certain actions, and then returns the user back to the browser. However, on iOS, the only way to go back to the browser is by using the openURL method. The issue is that this method can only open the browser app itself—it can’t control which tab or page is shown, so the user doesn’t return to the original tab they came from. The same limitation also applies to Android. Furthermore, iOS doesn’t allow an app to programmatically return to the previous app (in this case, the browser). While Android doesn’t have an official way either, in some cases, the OS automatically returns to the previous app when ours is closed. I’d like to ask: Is there any known method or workaround that allows returning from my app back to Safari (or the default browser) and restoring the previously active web page or tab? Or, is there any way to programmatically return to the previous app from within my app? Thanks in advance for your support!
0
0
152
Apr ’25
URLSession return NSURLErrorNotConnectedToInternet on 4G network
Hi, I have an app that has been online for a long time, but a very small number of users will respond with "-1009, the internet connection appears to be offline" error, but most users are normal, which may indicate that it is a device problem. The user's network uses 4G, and the user indicates that it is normal to connect to other apps. In my opinion, if my App uses URLSession to get this Error, other apps should also get it, and all apps cannot make network requests, but it is not. Currently I always ask users to restart the network or use wifi, but this may not solve this problem. Maybe the device has other network settings that can cause this problem? (The user did not use the flight mode) Anyone know any solutions or know this problem?
Replies
1
Boosts
0
Views
843
Activity
Jul ’21
URLSession sometimes return error -1003
Hi, I have an app on the AppStore, but a few times, I get reports from users that he gets -1003 "Could not find a server with the specified hostname" on a 4G network. I tested on my iphone app and the problem is normal. Knowing that -1003 doesn't happen to all users, maybe there is some setting on the phone that is causing this? Or is there a way to help the user to fix it (reboot or Wifi)? If anyone knows the problem please let me know, thanks.
Replies
1
Boosts
0
Views
1.6k
Activity
Mar ’22
Is It Possible to Restore Previous Browser State After openURL on iOS?
Hi Everyone, I’m currently working on a flow where a web page redirects to our app to perform certain actions, and then returns the user back to the browser. However, on iOS, the only way to go back to the browser is by using the openURL method. The issue is that this method can only open the browser app itself—it can’t control which tab or page is shown, so the user doesn’t return to the original tab they came from. The same limitation also applies to Android. Furthermore, iOS doesn’t allow an app to programmatically return to the previous app (in this case, the browser). While Android doesn’t have an official way either, in some cases, the OS automatically returns to the previous app when ours is closed. I’d like to ask: Is there any known method or workaround that allows returning from my app back to Safari (or the default browser) and restoring the previously active web page or tab? Or, is there any way to programmatically return to the previous app from within my app? Thanks in advance for your support!
Replies
0
Boosts
0
Views
152
Activity
Apr ’25