RNRF - Actions.popTo 失败:"called with an unknown routeName"

RNRF - Actions.popTo failed: "called with an unknown routeName"

库版本

"react-native-router-flux": 4.1.0-beta.4  
"react": "16.8.3",  
"react-native": "^0.59.9"

我试图调用 Actions.popTo(sceneKey) 但它给了 popTo called with an unknown routeName: pulsaScreen。我想要弹出的愿望屏幕是 pulsaScreen

当我登录 Actions.prevState.routes 并给出结果时:

[ { params: 
     { error: '',
       navigationBarStyle: { backgroundColor: '#FD6542', borderBottomWidth: 0 },
       leftButtonType: 'GO_TO_HOME_BUTTON',
       rightButtonType: 'CHAT_BUTTON_WITHOUT_LABEL',
       title: 'Beli Pulsa',
       navTransparent: false,
       titleStyle: 
        { .... },
       renderBackButton: null,
       renderLeftButton: 
        { '$$typeof': {},
          ... },
       renderRightButton: 
        { '$$typeof': {},
          ... },
       init: true,
       product_type: 1,
       type: 'reset',
       routeName: 'pulsaScreen' },
    routeName: 'pulsaScreen',
    key: 'id-1572259438287-3' },
  { params: 
     { error: '',
       navigationBarStyle: { backgroundColor: '#FD6542', borderBottomWidth: 0 },
       leftButtonType: 'BACK_BUTTON',
       rightButtonType: 'CHAT_BUTTON_WITHOUT_LABEL',
       title: 'Review',
       navTransparent: false,
       titleStyle: 
        { ... },
       renderBackButton: null,
       renderLeftButton: 
        { '$$typeof': {},
          .... },
       renderRightButton: 
        { '$$typeof': {},
          ... },
       init: true,
       routeName: 'reviewPulsaScreen' },
    routeName: 'reviewPulsaScreen',
    key: 'id-1572259438287-4' },
  { params: 
     { error: '',
       navigationBarStyle: { backgroundColor: '#FD6542', borderBottomWidth: 0 },
       title: 'Masukkan Pin',
       leftButtonType: 'BACK_BUTTON',
       rightButtonType: 'CHAT_BUTTON_WITHOUT_LABEL',
       navTransparent: false,
       titleStyle: 
        { .... },
       renderBackButton: null,
       renderLeftButton: 
        { '$$typeof': {},
          ... },
       renderRightButton: 
        { '$$typeof': {},
          ... },
       init: true,
       routeName: 'pinInputScene' },
    routeName: 'pinInputScene',
   ...
    key: 'id-1572259438287-5' 

pulsaScreen 存在于我记录的路由堆栈中。

有什么想法吗?

直到现在,我都不知道答案。但是,我不小心使用了 Actions.jump(),它按我预期的那样工作。

尽管在文档中,Actions.jump() 只能用于 Tab