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

   > Because we tried adding android:debuggable="true", and apparently that 
makes the release apk work...
   If we remove it, we get the same error again
   
   Not 100% sure but I feel like debug mode ignores SSL errors (because it is 
typical for self-signed certs to be used in debug/development environments). 
Release mode will assert that SSL/TLS is trusted and verified.
   
   But you can confirm one way or another by using the web inspector. By 
default the inspector is disabled in release mode. But assuming you're using a 
relatively modern cordova-android you can enable it by using the 
`InspectableWebview` preference. You should see XHR requests and the error 
response, either client side error, or a server error. Note that the inspector 
needs to be attached **before** the XHR request is sent for it to be traced in 
the network tab. If this is a request on app launch, then you can reload the 
webview via the inspector (by pressing `CTRL` + `R` (or `CMD` + `R` on Macs) to 
simulate an app launch with the inspector attached.


-- 
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