微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Android 深层链接“wc:”方案

如何解决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 举报,一经查实,本站将立刻删除。