hi, I'm adding Universal Link handling on the iOS ...
# mvikotlin
t
hi, I'm adding Universal Link handling on the iOS side of my MVIKotlin/Decompose-based app. On the Android side, I get the opened URL in the Android Intent so I can pass it along at
Component
construction time but it's handled in SwiftUI in a
.onOpenURL()
callback (after the
Component
is constructed). Is there a recommended pattern for how to handle this reactively? Should I add a function on my
RootBloc
to react to this URL as it comes in? I've already got a child
Bloc
that has the logic if it's set at construction time so I could hook into that farther down the stack
a
t
@Arkadii Ivanov ah, perfect. Thank you!
looks like it might need to be adjusted a bit in the future since
AppDelegate
was apparently deprecated in iOS 19
👍 1