Run Cordova app using Chrome Device Mode Mobile Emulation -


i have used ripple run cordova app in desktop browsers. know there better tool emulate mobile apps , it's integrated in chrome: chrome device mode mobile emulation.

is there way use chrome device mode mobile emulation instead of using ripple emulate app in chrome?

thanks

chrome remote debugging easy , useful monitor or debug network related bug in mobile application. follow following steps.

before have add these lines in application's src file (.java)

 if (build.version.sdk_int >= build.version_codes.kitkat) {     if (0 != (getapplicationinfo().flags &= applicationinfo.flag_debuggable))     { webview.setwebcontentsdebuggingenabled(true); }   } 

(this allow chrome monitor running webview)

  1. enable usb debugging in mobile
  2. connect device pc.
  3. open chrome in pc
  4. go chrome menu > more tools > inspect devices.
  5. check in discover usb devices check box
  6. find application in list
  7. you can screencast app chrome now.

that it!! can debug application chrome.

note:- android


Comments