You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To open a certain tab on a page on the same scene given the specific path in android pathPrefix
Actual behaviour
The app only opens a name page without going to a specific position on that screen
Steps to reproduce
For non-obvious bugs, please fork this component, modify Example project to reproduce your issue and include link here.
Include .* in scene path but it did not work
Reproducible Demo
Please provide a minimized reproducible demonstration of the problem you're reporting.
Issues that come with minimal repro's are resolved much more quickly than issues where a maintainer has to reproduce themselves.
I have my router.js defined like this
**import React from 'react';
import {ActionConst, Router, Scene} from 'react-native-router-flux';
import {trackScreen} from '../common/analytics'
import homePage from '../pages/homePage/homePage';
import landingPage from '../pages/landingPage/landingPage';
/>
I have the home page with 3 tabs in that page name Home, Family, Privacy.I would like to navigate using deep link to https://app.test.com/family in home page. Passing a path prop in scene does not work.
Here is my .xml file to handle the deep link:
` <!-- Opens https://app.test.com/family -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="https"
android:host="app.test.com"
android:pathPrefix="/family"
/>`
Any help please!
The text was updated successfully, but these errors were encountered:
Version
Tell us which versions you are using:
Expected behaviour
To open a certain tab on a page on the same scene given the specific path in android pathPrefix
Actual behaviour
The app only opens a name page without going to a specific position on that screen
Steps to reproduce
For non-obvious bugs, please fork this component, modify Example project to reproduce your issue and include link here.
Reproducible Demo
Please provide a minimized reproducible demonstration of the problem you're reporting.
Issues that come with minimal repro's are resolved much more quickly than issues where a maintainer has to reproduce themselves.
I have my router.js defined like this
**import React from 'react';
import {ActionConst, Router, Scene} from 'react-native-router-flux';
import {trackScreen} from '../common/analytics'
import homePage from '../pages/homePage/homePage';
import landingPage from '../pages/landingPage/landingPage';
const RouterComponent = ({initialRouteName}) => {
const routeName = initialRouteName ? initialRouteName : 'home';
return (
<Router
uriPrefix={'app.test.com'}
initialRouteName={routeName}
onStateChange={trackScreen}
/>
I have the home page with 3 tabs in that page name Home, Family, Privacy.I would like to navigate using deep link to https://app.test.com/family in home page. Passing a path prop in scene does not work.
The text was updated successfully, but these errors were encountered: