Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/231.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android深度链接:为多个目标添加深度链接_Android_React Native_Deep Linking - Fatal编程技术网

Android深度链接:为多个目标添加深度链接

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

我有一个本地Android应用程序,我使用相同的代码库创建了两个应用程序。该应用程序在Android/src/main文件夹中有一个公共Android.manifest文件

我正在侦听清单文件中两个应用程序的域

<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.

```
现在,当我点击来自外部源的链接时,它会弹出两个应用程序。因为这两个应用程序都是从同一个代码库构建的。
我可以为单独的目标指定单独的清单文件吗?如何指定?或者有没有更好的方法让特定的应用程序监听特定的域。