{"action":"created","issue":{"url":"https://api.github.com/repos/microsoft/reactxp/issues/1150","repository_url":"https://api.github.com/repos/microsoft/reactxp","labels_url":"https://api.github.com/repos/microsoft/reactxp/issues/1150/labels{/name}","comments_url":"https://api.github.com/repos/microsoft/reactxp/issues/1150/comments","events_url":"https://api.github.com/repos/microsoft/reactxp/issues/1150/events","html_url":"https://github.com/microsoft/reactxp/issues/1150","id":505349498,"node_id":"MDU6SXNzdWU1MDUzNDk0OTg=","number":1150,"title":"RX.Linking.deepLinkRequestEvent does not trigger","user":{"login":"alariej","id":26170770,"node_id":"MDQ6VXNlcjI2MTcwNzcw","avatar_url":"https://avatars1.githubusercontent.com/u/26170770?v=4","gravatar_id":"","url":"https://api.github.com/users/alariej","html_url":"https://github.com/alariej","followers_url":"https://api.github.com/users/alariej/followers","following_url":"https://api.github.com/users/alariej/following{/other_user}","gists_url":"https://api.github.com/users/alariej/gists{/gist_id}","starred_url":"https://api.github.com/users/alariej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alariej/subscriptions","organizations_url":"https://api.github.com/users/alariej/orgs","repos_url":"https://api.github.com/users/alariej/repos","events_url":"https://api.github.com/users/alariej/events{/privacy}","received_events_url":"https://api.github.com/users/alariej/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2019-10-10T15:32:28Z","updated_at":"2019-10-10T16:24:09Z","closed_at":null,"author_association":"NONE","body":"I am testing incoming deep linking on Android with the goal of being able to share images from the Gallery app to my RX app. The code in my app is:\r\n```\r\nRX.Linking.deepLinkRequestEvent.subscribe(event => {\r\n   console.log(event);\r\n   // do something here\r\n});\r\n```\r\nThe intent in AndroidManifest.xml is:\r\n```\r\n<intent-filter>\r\n   <action android:name=\"android.intent.action.SEND\" />\r\n   <category android:name=\"android.intent.category.DEFAULT\" />\r\n   <data android:mimeType=\"image/*\" />\r\n</intent-filter>\r\n```\r\nI also added `android:launchMode=\"singleInstance\"` as an activity parameter to ensure that the launched instance is the one with the already subscribed event.\r\n\r\nThe app instance launches correctly from the background when clicking the app icon in the \"Share via\" menu in the Gallery app, but the deepLinkRequestEvent never triggers.\r\n\r\nMy code is in the same section with `RX.App.activationStateChangedEvent` and `RX.Network.connectivityChangedEvent`, which both trigger correctly on their respective events.\r\n\r\nAm I missing something on how to implement deep linking with ReactXP?"},"comment":{"url":"https://api.github.com/repos/microsoft/reactxp/issues/comments/540664931","html_url":"https://github.com/microsoft/reactxp/issues/1150#issuecomment-540664931","issue_url":"https://api.github.com/repos/microsoft/reactxp/issues/1150","id":540664931,"node_id":"MDEyOklzc3VlQ29tbWVudDU0MDY2NDkzMQ==","user":{"login":"mikehardy","id":782704,"node_id":"MDQ6VXNlcjc4MjcwNA==","avatar_url":"https://avatars1.githubusercontent.com/u/782704?v=4","gravatar_id":"","url":"https://api.github.com/users/mikehardy","html_url":"https://github.com/mikehardy","followers_url":"https://api.github.com/users/mikehardy/followers","following_url":"https://api.github.com/users/mikehardy/following{/other_user}","gists_url":"https://api.github.com/users/mikehardy/gists{/gist_id}","starred_url":"https://api.github.com/users/mikehardy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikehardy/subscriptions","organizations_url":"https://api.github.com/users/mikehardy/orgs","repos_url":"https://api.github.com/users/mikehardy/repos","events_url":"https://api.github.com/users/mikehardy/events{/privacy}","received_events_url":"https://api.github.com/users/mikehardy/received_events","type":"User","site_admin":false},"created_at":"2019-10-10T16:24:09Z","updated_at":"2019-10-10T16:24:09Z","author_association":"CONTRIBUTOR","body":"Hmm - seems fine except maybe try singleTop or singleTask vs singleInstance (though a final setting should be considered carefully - easy to switch for a test)\r\n\r\nI would not recommend react-native-firebase only to handle links, it's a sledgehammer for a fly in that scenario. I'm not aware of any comprehensive guides and unfortunately that's a support burden for react-native-firebase so if you find any that would be useful"}}
{"actor":{"display_login":"mikehardy"}}