Cocos Creator 3. On built game on Android "fetch" return different response

Hi all. I am using google sheets go get some data for my game, I am using “fetch” function to get sheet from Google table.
It works ok in browser, but on Android device it returns different response without data:
Response from browser:


Response on Android:

My Code:

Please use XMLHttpRequest.
It works well for both; browser and android.

Learn more here:
https://docs.cocos.com/creator/manual/en/scripting/network.html

1 Like

Hi, thanks a lot, do you know it works well on IOS? thanks

It should work as it was recommended by Cocos Team. :slight_smile:

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.