Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/223.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 React本机深度链接应用程序未打开_Android_React Native_React Native Android_Deep Linking_React Native Navigation - Fatal编程技术网

Android React本机深度链接应用程序未打开

Android React本机深度链接应用程序未打开,android,react-native,react-native-android,deep-linking,react-native-navigation,Android,React Native,React Native Android,Deep Linking,React Native Navigation,我遵循了下面提到的两篇文章中的所有步骤 在我的手机上安装了应用程序后,我尝试通过将URL设置为peopleapp://people/1 格式。浏览器没有打开应用程序,而是打开谷歌搜索来搜索上述内容 我使用此应用程序通过我的应用程序链接()打开我的应用程序。它正在工作 但是,如何使用我的应用程序链接从浏览器或其他应用程序打开应用程序 谁有主意,怎么解决这个问题 这是我的全部AndroidManifest代码` <uses-permission android:name="android.

我遵循了下面提到的两篇文章中的所有步骤

在我的手机上安装了应用程序后,我尝试通过将URL设置为peopleapp://people/1 格式。浏览器没有打开应用程序,而是打开谷歌搜索来搜索上述内容

我使用此应用程序通过我的应用程序链接()打开我的应用程序。它正在工作

但是,如何使用我的应用程序链接从浏览器或其他应用程序打开应用程序

谁有主意,怎么解决这个问题

这是我的全部AndroidManifest代码`

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-feature android:name="android.hardware.camera" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application
    android:name=".MainApplication"
    android:allowBackup="false"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:theme="@style/AppTheme"
    android:usesCleartextTraffic="true">
    <activity
        android:name=".MainActivity"
        android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
        android:screenOrientation="portrait"
        android:label="@string/app_name"
        android:windowSoftInputMode="adjustResize"
        android:launchMode="singleTask">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
        <intent-filter android:label="filter_react_native">
            <action android:name="android.intent.action.VIEW" />
            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.BROWSABLE" />
            <data android:scheme="whizzard" android:host="article" />
        </intent-filter>
    </activity>

</application>

`

我的链接是whizzard://article

根据谷歌文档:

在Android的Chrome版本25及更高版本中,该功能略有变化。通过设置iframe的src属性来启动Android应用程序已不再可能。例如,使用自定义方案(如paulsawesomeapp://将iframe导航到URI将不起作用,即使用户安装了相应的应用程序。相反,您应该实现用户手势,通过自定义方案启动应用程序,或者使用“意图:”


您可以阅读更多有关意图如何工作的信息。但是,您所遵循的教程,因为deeplinking将在其他非chrome或基于chrome的浏览器上运行

请发布您使用的代码,而不是链接。您尝试过哪个浏览器的deeplink?@RishiRaj来自chrome或其他应用程序,如slack,gmail也添加了清单文件,你能检查一下吗now@PraveenReddyVangala