Error when using Classic OData on Android

Good morning,

I’m developing an app that relies on OData Integration to retrieve data from a public SAP System.

When testing the API call, it works fine, but I’m getting a warning about CORS.

In particular:

  • Web Preview: will not work
  • Web Standalone deployment: might not work, depending on the exact CORS restriction
  • iOS/Android/macOS preview: will work
  • iOS/Android/macOS standalone app: will work

I tested my app on the Web and it doesn’t work, as expected.
I tested on iOS preview and it works, as expected.

The problem comes when I started testing on Android, both preview and standalone app seems to be giving back an error…

What can I do?