[APP-547] Universal links & deeplinking (#555)
* added ios scheme and intentFilters for deep linking * added intentFilters for android deep linking * add .env files to .gitignore * add autoVerify for android deep links
This commit is contained in:
parent
c8af784328
commit
d3e8bd3e9a
4 changed files with 26 additions and 4 deletions
|
@ -299,7 +299,9 @@ function navigate<K extends keyof AllNavigatorParams>(
|
|||
function resetToTab(tabName: 'HomeTab' | 'SearchTab' | 'NotificationsTab') {
|
||||
if (navigationRef.isReady()) {
|
||||
navigate(tabName)
|
||||
navigationRef.dispatch(StackActions.popToTop())
|
||||
if (navigationRef.canGoBack()) {
|
||||
navigationRef.dispatch(StackActions.popToTop()) //we need to check .canGoBack() before calling it
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue