mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-12 09:21:09 +08:00
Prefixes should be more flexible for situations like wild card subdomain. On android and IOS we can define wild cards by * but react-navigation does not work, In this PR I added support for RegExp Prefixes.
For Example
```js
{
prefixes: [
/^[^.s]+.example.com/g
],
}
```
I tested this work well.
Closes #8941
Co-authored-by: Satyajit Sahoo <satyajit.happy@gmail.com>
@react-navigation/native
React Native integration for React Navigation.
Installation instructions and documentation can be found on the React Navigation website.