breautek commented on issue #1585:
URL: 
https://github.com/apache/cordova-android/issues/1585#issuecomment-1494962795

   If you caught the error so that you can see the actual error message, you 
can be more confident with that is wrong.
   
   However Android by default will block insecure (non-HTTPs) connections, and 
based on the information available, that's my best guess.
   
   You can get around that by using:
   
   ```
   <platform name="android">
     <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" 
target="/manifest/application">
         <application android:usesCleartextTraffic="true" />
     </edit-config>
   </platform>
   ```
   
   In your `config.xml`, however for production you should have a real https 
server to use and that remove the `edit-config` to allow clear text traffic.
   
   Please catch and post the error if you need more help.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to