Access to XMLHttpRequest at '' from origin 'file://' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource

I am using ionic3 for my application development. I am getting below error for android application for the first time installation. Then after re-launching the app is working correctly.
Seeing this issue only on a new/fresh install of the app. Restarting the app resolves the issue which is strange.

I have seeing this issue after I set targetSdkVersion 28 i.e, building app for Android 9 pie.

Access to XMLHttpRequest at ‘the url’ from origin ‘file://’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource’.

After I changed cleartextTrafficPermitted=“true” I am getting following error in my app.

My App Confuration

Possibly due to this Chrome 76 error ? https://bugs.chromium.org/p/chromium/issues/detail?id=991107

Do things work if you kill the app and re-start it?