I'm working with react-navigation and I'm trying to configure my linking element because I need it to use it in apps and web to. It works fine with simple URLs but I don't know how exactly include a URL with query params.
My URL is /ecare/page?reference=XXX
and here's my linking
const linking = {
prefixes: ['//my-prefix'],
config: {
screens: {
Invoices: 'ecare/invoices',
Products: {
path: 'ecare/page/:reference',
}
}
},
}
How can I exactly parser my URL from my query param URL to my linking working fine?