aksonov / aksonov/react-native-router-flux

Link several positions on the same page using pathPrefix

未关闭
#3,818 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
8.9k
派生
2.1k
PR 合并指标
30 天内没有已合并 PR

描述

### Version
Tell us which versions you are using:

- react-native-router-flux v4.0.0-beta.28
- react v17.0.1
- react-native v0.66.3
-

### 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.
1. 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';

const RouterComponent = ({initialRouteName}) => {
const routeName = initialRouteName ? initialRouteName : 'home';
return (





/>
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:
`




`

Any help please!

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。