Rewrite an url path before run the expo router

  1. “expo-router”: “1.5.3”
  2. Platforms(Android/iOS/web/all): Android/iOS

Hi, is it possible to have path like this this witch will link to component: app/profile/[profile].tsx. Generally I’m looking for a way to remove the path prefix: ‘/dashboard/en’ before I run the expo router. I cannot find any information about it in the expo documentation. Thank you in advance for your help.

Same here, I’ve asked also in the forum but no luck so far. With react navigation we have a “linking” prop to do this override (React Navigation), but with Expo Router it seems that the only solution (and I don’t even know if it would work) is to manually parse and map incoming urls with Linking - Expo Documentation

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.