Open gabeljz opened 5 years ago
@gabeljz, were you able to get this working? If so, let us know how you solved it.
Is this still a concern @gabeljz? -- I'm not using the Windows platform but I'd be happy to review documentation PRs if you want to make one?
I have followed the docs on RX.Linking.deepLinkRequestEvent and example on Microsoft/SubscribableEvent, to arrive at this code:
The handler function subscribed to the event can be executed with
event.fire(...)
.After setting up the Android and iOS apps according to React Native's docs on Linking, the handler function can be executed successfully upon activating a new URI while the respective app is already running.
I can't find any exact information on setting up Windows app to listen to incoming app links during the app's execution. The closest informations that I found are:
Using the TodoList app as an example, my current setting in the Package.appxmanifest is:
With this setting, the app can handle URI "todo://todos?selected=new", but only at initial launch and that the app must not be already running. Even then, the URI is retrieved from
RX.Linking.getInitialUrl()
, the handler function subscribed toRX.Linking.deepLinkRequestEvent
is simply never executed.So how can I setup Windows app to listen to incoming app links while the app is already running?