Android 深层链接“wc:”方案

问题描述

我正在尝试将以下内容识别为 android 中的深层链接

wc:1a15e8b5-8470-47fa-985f-cf11b4c89067@1?bridge=https%3A%2F%2Fbridge.walletconnect.org&key=f92fb2ed74d628a6a286e416e4df2fbfa88d58e6826007c021b9f5920567cdd5

我已将我的 AndroidManifest 设置如下:

        <activity
        android:name=".MainActivity"
        android:configChanges="orientation|screenSize|screenLayout|layoutDirection|keyboard|keyboardHidden"
        android:launchMode="singleTask"
        android:theme="@style/AppTheme.Launcher"
        android:windowSoftInputMode="stateHidden|adjustPan|adjustResize">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>

        
        <intent-filter android:label="@string/app_name">
            <action android:name="android.intent.action.VIEW" />

            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.broWSABLE" />

            <data android:scheme="wc" />
        </intent-filter>
    </activity>

但是,当我尝试使用相机应用扫描相关 qr 时,没有任何反应。 我错过了什么?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)