I am using the following flags to disable CORS ( cross origin policy) : --disable-web-security --disable-features=IsolateOrigins,site-per-process --disable-site-isolation-trials
It seems to work perfectly fine on the desktop (linux) version of chrome, but when I provide the same flags to android version of chrome ( flags are passed through /data/local/chrome-command-line) on a rooted phone, it doesn't work.
I can confirm that the flags are correctly passed by inspecting chrome://version. However, despite that, chrome on android throws the cross origin errors.
Any help would be sincerely appreciated ,I have been struggling with this for quite some while.