Hello Community. Somebody know if there is a way to run the mobile debugger emulator in mac or linux?
I tried to change the patch and URL but something is missing.
@echo off SET CHROMEPATH=C:\ChromePortable\GoogleChromePortable.exe IF NOT EXIST %CHROMEPATH% ( SET /p CHROMEPATH="Enter path to chrome.exe (ver. 79.x or earlier): " ) SET PAGEPATH=..\web\MobileMainPage.html copy NUL "..\web\cordova.js" /Y start %CHROMEPATH% --disable-features=IsolateOrigins,site-per-process --allow-file-access-from-files --disable-web-security --disable-popup-blocking --enable-device-mode "file:///%~dp0%PAGEPATH%?platform=webkit&usecookie=true"
Like
4 comments
20:08 Aug 12, 2021
I managed to solve the issue but is ask me to allow store in the system, and after allowed I got an error.
21:14 Aug 12, 2021
Solved. The issue was in the version of chrome (Needs to be 7.9 or below) After that just create a script to run chrome. A example of the script if in case somebody wants to use it.
#!/bin/bash export PAGEPATH="\home\federico\Documents\7.18.0\web\MobileMainPage.html" google-chrome --disable-features=IsolateOrigins,site-per-process --allow-file-access-from-files --disable-web-security --disable-popup-blocking --user-data-dir="/home/federico/ChromeUserData" --enable-device-mode "file:///$PAGEPATH?platform=webkit&usecookie=true"
21:30 Aug 12, 2021
Federico Buffa ...,
Thanks for sharing this. I'll give it a try as well ??
Ryan
Show all comments