How to add schemaes for deep linking in android manifest file for multiple screens?

Viewed 14

I have a problem in react native deep linking, i created the 2 dynamic links for same domain in firebase, but when go to a screen from link1 it goes to desires screen but when go from the link2 it does not go to desired screen it is just opening the app, So now i don't know the issue. Kindly help if anyone have the solution and below is the some code

config= {
    screens: {
      BottomTabGuestNavigator:{ 
        screens:{
          MainScreenStack:{
            screens:{
              ProductDetailScreen:{
                path:'/products/details/:id',
                parse: {
                  id: (id:any) => `${id}`
                },
              }
            }
          },

        }
      },
      ForgetpasswordScreen:{
        path:'/password/reset/:identifier',
        stringify: {
          identifier: (identifier:any) => `${identifier}`
        },
      }
    }
  }
const linking = {
  prefixes: [
    'https://beyondshores.page.link',
  ],
  config
};
0 Answers
Related