简体   繁体   中英

Facing Error in WebView android : ERR_UNKNOWN_URL_SCHEME

在此处输入图片说明

在此处输入图片说明

  <activity android:name=".main.activity.PaymentWebViewActivity"
        android:screenOrientation="portrait"
        android:theme="@style/AppTheme.NoActionBar"
        >
        <intent-filter>
            <action android:name="android.intent.action.VIEW" />
            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.BROWSABLE" />
            <data android:scheme="myapp" android:host="path" />
        </intent-filter>
    </activity>

I am redirecting my url to the webview in android . And getting this error, what should I write in my Android manifest file to resolve this error?

Regarding Manifest, you want yo catch myapp url scheme but it seems that you received co.psk.f50f scheme. There is a mismatch.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM