Android深度链接:为多个目标添加深度链接
我有一个本地Android应用程序,我使用相同的代码库创建了两个应用程序。该应用程序在Android/src/main文件夹中有一个公共Android.manifest文件 我正在侦听清单文件中两个应用程序的域Android深度链接:为多个目标添加深度链接,android,react-native,deep-linking,Android,React Native,Deep Linking,我有一个本地Android应用程序,我使用相同的代码库创建了两个应用程序。该应用程序在Android/src/main文件夹中有一个公共Android.manifest文件 我正在侦听清单文件中两个应用程序的域 <data android:host="*.a.com" android:pathPrefix="/us/home/register" android:scheme="https" /> <data andro
<data android:host="*.a.com" android:pathPrefix="/us/home/register" android:scheme="https" />
<data android:host="*.b.com" android:pathPrefix="/us/home/register" android:scheme="https" />
```
now when I click on the link from an external source it pops up both the Apps. As both the Apps are built from the same codebase.
Can I specify separate manifest files for separate targets and how? Or is there a better way so that a specific app listen to a specific domain.
```
现在,当我点击来自外部源的链接时,它会弹出两个应用程序。因为这两个应用程序都是从同一个代码库构建的。
我可以为单独的目标指定单独的清单文件吗?如何指定?或者有没有更好的方法让特定的应用程序监听特定的域。