Here's what prints to the log when I run the app:
application: didFinishLaunchingWithOptions
launchOptions =
application: configurationForConnecting
scene: willConnectTo session
maybeOpenedFromWidget(): urlContexts = []
I go to the Home screen, and tap a small widget:
.onOpenURL
url.scheme = Optional("myscheme")
url.path.description = E3C68269-EFB9-44EB-BD6F-430FADD4E6E7
scene: openURLContexts
maybeOpenedFromWidget(): urlContexts = [<UIOpenURLContext: 0x600000365840; URL: myscheme://myhost/E3C68269-EFB9-44EB-BD6F-430FADD4E6E7; options: <UISceneOpenURLOptions: 0x600001805d00; sourceApp: (null); annotation: (null); openInPlace: NO; _eventAttribution: (null)>>]
Launched from widget
I go to the Home screen and tap a medium widget:
url.scheme = Optional("myscheme")
url.path.description = E7B8A9DB-A465-4AD9-99B3-DDCF054712A7
scene: openURLContexts
maybeOpenedFromWidget(): urlContexts = [<UIOpenURLContext: 0x6000002e5960; URL: myscheme://myhost/E7B8A9DB-A465-4AD9-99B3-DDCF054712A7; options: <UISceneOpenURLOptions: 0x600001779540; sourceApp: (null); annotation: (null); openInPlace: NO; _eventAttribution: (null)>>]
Launched from widget
I go to the Home screen and tap a row in the large widget. The row does not go faint like it's supposed to, so the Link clearly isn't working. Nothing is printed in the log.
EDIT: Oh, I just found out it's yet another bug from Apple ¯\_(ツ)_/¯ Please invest in some automated tests, guys!
Topic:
Programming Languages
SubTopic:
Swift
Tags: