I have this android app built from an Ionic4 project. This app uses the normal http client to send requests to a local REST server. I deployed the app to my personal test device (a generic 7" Android 8 tablet) and the app works as expected.
I then installed in a Huawei 12" tablet, Android 8, and the app also works as expected. But then I installed the app in the customer’s device, a 8" Galaxy Tab 2 running Android 9, and the app runs but any request sent to the REST server fails with an “Uknown error” status code 0. If I try to access the REST server from the device’s browser, it works ok. I even downloaded and installed a REST client and it also worked without problems with the REST server… the problem only happens with my app and on this device.
Any ideas of what to check? I discarded permissions problems already ,since my app has all required permissions.