swifter icon indicating copy to clipboard operation
swifter copied to clipboard

IOS 16.4problem: Restricted network ports are not allowed

Open ShanyChen opened this issue 2 years ago • 3 comments

the code works fine in ios version below 16.4. but in ios 16.4, the safari could not load url, the web was blank with "safari could not open the web page,the error is Restricted network ports are not allowed" in it. Please fix the problem.

ShanyChen avatar Mar 31 '23 07:03 ShanyChen

Delta Chat has the same issue since iOS 16.4: we're using HttpServer to pass a data:-url to Safari to get deep links inside the app as of https://swiftrocks.com/adding-deeplink-shortcuts-to-the-ios-home-screen.html - which stopped working as well with recent iOS updates.

things i tried so far did not work out, so in case someone has an idea, that'd be very welcome. of course, if we figure out a solution, we will also report here :)

r10s avatar May 21 '23 11:05 r10s

@r10s I also had a similar problem. Have you solved it yet, please guide me.

huynguyen1991 avatar Jul 22 '23 17:07 huynguyen1991

Have you solved it yet, please guide me.

no solution, things only got worse :)

recently apple decided to drop "Home Shortcuts" as used by web apps and for deep-linking at all, https://9to5mac.com/2024/02/15/ios-17-4-web-apps-european-union/

so, for Delta Chat's usecase of deep linking, the original issue of a restricted network port became a minor one :)

/offtopic

r10s avatar Feb 16 '24 10:02 r10s