react native webview debug network

62

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
}

Comments

Submit
0 Comments