I’m using a phone with android 11, I consume an api but the data always comes out blank, but if I use an ionic serve to upload my project to the navigation it brings me all the information, I’ve been looking on the internet for some information that can help me help but I couldn’t find anything to help me solve this problem
If I use another device with android 9 below, my application shows the data without problems.
this._GetServicesService.ejecutarQuery<Compania>(’/compania’).subscribe(
data =>{
this.Compania = data
console.log( this.Compania);
}
)
Ionic:
When you say that if I am using https, you mean at the level of the web api that I am consuming or from the ionic application, if it is from the web api, we do not use normal http, if it is from ionic, I would not know how to use it.
It is not a launch application, it is an app that I am developing and I am in the process of testing on the device, if I use it through the browser it works correctly but when I run ionic cordova build android to test on the device it does not load the data, the Api to which it connects is all correct