Meteor Cordova Android App Not Connecting To Server If Server Is Running On Vmware
I'm developing a Meteor Cordova app for Android. I want to test it in an Android phone, but it won't connect to server. Dev environment is Ubuntu 18.04 running on VMware, host is W
Solution 1:
Connected through Chrome tool "remote devices" and spotted this log:
Failed to load resource: net::ERR_CLEARTEXT_NOT_PERMITTED
This code was needed on my mobile-config.js
App.appendToConfig(`
<edit-configfile="app/src/main/AndroidManifest.xml"mode="merge"target="/manifest/application"xmlns:android="http://schemas.android.com/apk/res/android"><applicationandroid:usesCleartextTraffic="true"></application></edit-config>
`);
Post a Comment for "Meteor Cordova Android App Not Connecting To Server If Server Is Running On Vmware"