{"action":"created","issue":{"url":"https://api.github.com/repos/wix/react-native-navigation/issues/324","repository_url":"https://api.github.com/repos/wix/react-native-navigation","labels_url":"https://api.github.com/repos/wix/react-native-navigation/issues/324/labels{/name}","comments_url":"https://api.github.com/repos/wix/react-native-navigation/issues/324/comments","events_url":"https://api.github.com/repos/wix/react-native-navigation/issues/324/events","html_url":"https://github.com/wix/react-native-navigation/issues/324","id":178131108,"number":324,"title":"Central place to handle deeplinks.","user":{"login":"Antonides","id":3648894,"avatar_url":"https://avatars0.githubusercontent.com/u/3648894?v=3","gravatar_id":"","url":"https://api.github.com/users/Antonides","html_url":"https://github.com/Antonides","followers_url":"https://api.github.com/users/Antonides/followers","following_url":"https://api.github.com/users/Antonides/following{/other_user}","gists_url":"https://api.github.com/users/Antonides/gists{/gist_id}","starred_url":"https://api.github.com/users/Antonides/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Antonides/subscriptions","organizations_url":"https://api.github.com/users/Antonides/orgs","repos_url":"https://api.github.com/users/Antonides/repos","events_url":"https://api.github.com/users/Antonides/events{/privacy}","received_events_url":"https://api.github.com/users/Antonides/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"DanielZlotin","id":6660239,"avatar_url":"https://avatars0.githubusercontent.com/u/6660239?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielZlotin","html_url":"https://github.com/DanielZlotin","followers_url":"https://api.github.com/users/DanielZlotin/followers","following_url":"https://api.github.com/users/DanielZlotin/following{/other_user}","gists_url":"https://api.github.com/users/DanielZlotin/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielZlotin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielZlotin/subscriptions","organizations_url":"https://api.github.com/users/DanielZlotin/orgs","repos_url":"https://api.github.com/users/DanielZlotin/repos","events_url":"https://api.github.com/users/DanielZlotin/events{/privacy}","received_events_url":"https://api.github.com/users/DanielZlotin/received_events","type":"User","site_admin":false},"assignees":[{"login":"DanielZlotin","id":6660239,"avatar_url":"https://avatars0.githubusercontent.com/u/6660239?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielZlotin","html_url":"https://github.com/DanielZlotin","followers_url":"https://api.github.com/users/DanielZlotin/followers","following_url":"https://api.github.com/users/DanielZlotin/following{/other_user}","gists_url":"https://api.github.com/users/DanielZlotin/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielZlotin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielZlotin/subscriptions","organizations_url":"https://api.github.com/users/DanielZlotin/orgs","repos_url":"https://api.github.com/users/DanielZlotin/repos","events_url":"https://api.github.com/users/DanielZlotin/events{/privacy}","received_events_url":"https://api.github.com/users/DanielZlotin/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2016-09-20T17:59:54Z","updated_at":"2017-03-22T22:47:36Z","closed_at":null,"body":"Does anybody has an example how to handle deeplinks on a central place? now i need to handle the event in every page to listen for deeplinks.\n"},"comment":{"url":"https://api.github.com/repos/wix/react-native-navigation/issues/comments/288563467","html_url":"https://github.com/wix/react-native-navigation/issues/324#issuecomment-288563467","issue_url":"https://api.github.com/repos/wix/react-native-navigation/issues/324","id":288563467,"user":{"login":"Jpoliachik","id":5148640,"avatar_url":"https://avatars1.githubusercontent.com/u/5148640?v=3","gravatar_id":"","url":"https://api.github.com/users/Jpoliachik","html_url":"https://github.com/Jpoliachik","followers_url":"https://api.github.com/users/Jpoliachik/followers","following_url":"https://api.github.com/users/Jpoliachik/following{/other_user}","gists_url":"https://api.github.com/users/Jpoliachik/gists{/gist_id}","starred_url":"https://api.github.com/users/Jpoliachik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jpoliachik/subscriptions","organizations_url":"https://api.github.com/users/Jpoliachik/orgs","repos_url":"https://api.github.com/users/Jpoliachik/repos","events_url":"https://api.github.com/users/Jpoliachik/events{/privacy}","received_events_url":"https://api.github.com/users/Jpoliachik/received_events","type":"User","site_admin":false},"created_at":"2017-03-22T22:47:36Z","updated_at":"2017-03-22T22:47:36Z","body":"You can do this without having access to a `navigator` instance. \r\nThis isn't strictly documented though - so beware of breaking in future updates. \r\n```\r\nNavigation.setEventHandler('myUniqueIdHere', (event) => {\r\n    \tconsole.log(\"all navigation events logged here\");\r\n    })\r\n```\r\n\r\nJust remember to call `Navigation.clearEventHandler('myUniqueIdHere');` if you want to unsubscribe. "}}
{"actor":{"display_login":"Jpoliachik"}}