[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:
+3
-1
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user