I’ll try to explain this in a very simple way.
I’ve read all the topics related to cors.
Trust me when I say I’m a little embarrased on creating another topic with this title.
I have a php project with a query, uploaded to my domain with mobile cors as suggested.
On my mobile project, I call it via SC, and displays all the data I need (On the Wappler preview)
But not on chrome DUE TO CORS, Wappler android emulator, android studio emulator, released apk.
Going to device inspector (From wappler android emulator) I see:
Uncaught TypeError: Cannot read property 'triggerEvent' of undefined
at <anonymous>:1:18
Failed to load resource: net::ERR_CLEARTEXT_NOT_PERMITTED
So I change the cors to *
Now the data is displaying on the browser (chrome), on wappler preview, but not on Wappler android emulator, android studio emulator, o released apk. (I see the same as above)
I think I’m gonna lose my mind here, please, anybody?
Thanks in advance.