redirect-web icon indicating copy to clipboard operation
redirect-web copied to clipboard

[iOS 18] Redirecting to Deep Link Not Working

Open mshibanami opened this issue 1 year ago • 7 comments

Edit (2024/10/04): If you are looking for a temporary workaround, please check https://github.com/mshibanami/redirect-web/discussions/57.


The following video shows the extension attempting to redirect from YouTube to Yattee, but it doesn't work:

https://github.com/user-attachments/assets/27c1fe8a-e626-448f-b103-10b206a86fb8

In the video, I noticed the following alert appears briefly:

Screenshot 2024-09-11 at 12 42 49 AM

Therefore, I think Safari forcefully dismisses it.

This only happens when trying to open a deep link from a page bundled into the extension. The same issue doesn’t occur when opening it from a normal web page.

This issue seems to have started with iOS 18. At least I confirmed this on the following device:

  • iPhone 12 mini: iOS 18.0 Public Beta 6 (22A5350a)
  • iPhone 15: iOS 18.0 RC 1 (22A3354)
  • iPad mini (5th gen): iOS 18.0 RC 1 (22A3354)
  • iOS Simulator on Xcode 16.0: iOS 18.0

I'll report this issue to Apple now...

mshibanami avatar Sep 10 '24 15:09 mshibanami

Comparison of opening a deep link in the bundled page VS a normal page (http://mshibanami.github.io/redirect-web/misc/test.html):

https://github.com/user-attachments/assets/4631a636-89cd-4a7b-886f-c8927ca69772

mshibanami avatar Sep 10 '24 16:09 mshibanami

Reported as FB15093371.

mshibanami avatar Sep 10 '24 17:09 mshibanami

Apple replied me they started investigating the issue. Hope it’ll be addressed soon.

mshibanami avatar Sep 18 '24 00:09 mshibanami

I see a similar problem redirecting YouTube pages to videolite: except I get an error message. IMG_2384

patrickrushton avatar Sep 27 '24 10:09 patrickrushton

Thanks @patrickrushton. Hmm, that's strange...

I noticed that redirecting to videolite:// works, but videolite://hello doesn't. This is also strange. Fortunately, Apple is working on the issue. Let's wait and see how it turns out.

mshibanami avatar Sep 29 '24 07:09 mshibanami

Hi @patrickrushton, although Apple hasn't fixed the issue, I found out a temporary workaround. Please find the details here: https://github.com/mshibanami/redirect-web/discussions/57 I hope it helps.

mshibanami avatar Oct 04 '24 04:10 mshibanami

Nice workaround! Thanks for investigating.

patrickrushton avatar Oct 04 '24 14:10 patrickrushton

Update: Apple informed me that they fixed the issue in iOS 18.4 beta (Build: 22E5200s). 🎉 I haven't confirmed it yet, but if it actually works, I'll close this issue once iOS 18.4 is released.

mshibanami avatar Mar 18 '25 04:03 mshibanami

I confirmed this is now fixed on iOS 18.4.
I've made https://github.com/mshibanami/redirect-web/pull/23 available in the Library section. This was a rule that had not worked due to this issue.

I'm closing this issue now.

mshibanami avatar Apr 07 '25 00:04 mshibanami