Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

react native webview debug network

// For ios you just need to open the inspector in safari
// For android you need to modify the MainApplication.java:
import android.webkit.WebView; // add this
...
@Override
public void onCreate() {
  super.onCreate();
  WebView.setWebContentsDebuggingEnabled(true); // add this
}
Source by dev.to #
 
PREVIOUS NEXT
Tagged: #react #native #webview #debug #network
ADD COMMENT
Topic
Name
1+6 =