Thursday, January 11, 2018

Webview throws ERR_NAME_NOT_RESOLVED during logout

Leave a Comment

I have an application that loads through webview. I am able to login into application which has been launched through webview. But during logout, it keeps throwing ERR_NAME_NOT_RESOLVED error for the server it is sending logout request against.

When I do the same login/logout in regular browser on mobile, i still get the same error on browser. When I do the same login/logout in regular browser on PC, it works perfectly fine.

Not entirely sure if this is a webview using Chromium client issue or issue with server?

1 Answers

Answers 1

  1. On the 3G in your mobile emulator
  2. And on the Cellular Data
  3. Make sure 3G Symbol appears above the signal strength symbol

And try to add permissions in your manifest to access internet:

<uses-permission android:name="android.permission.INTERNET" /> </manifest> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> 

As stated here.

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment