Ionic 5 app with Android 8 platform cannot access internet on devices with Android OS above 8

Hello
my ionic 5 application can access my API via internet on phones with an android version below 9. but on phones with android versions above 8, it can’t find the API.
I added the platform to my project with the command

cordova platform add android@8

Are you using http or https?
Android 9+ blocks http connections by default because it considers them not secure.

Check Android docs about it