I am building a react-native app that uses @react-navigation.
Currently the goal is to host it on the path from our website. Eg: https://mywebsite/app
However when I deploy my app, it goes to 404 page, using <Link to/>
component I can go to home page from the 404, which brings me to the root url https://mywebsite
Here's my linking set up
const linking = {
prefixes: ["http://localhost*", "https://mywebsite/app"],
config: {
screens: {
HomeScreen: {...},
NotFound: "*",
},
},
};
Any way to make it work from a bath rather than a root?