Why my apk doesn't upload data to webhost, but it works just fine in companion app?

Set some labels or notifiers to show specific elements of your data through the process, in order to see where it is failing.

Or create a simple app to test the upload of data to your webhost with an apk

I did put textbox1 there to see what data is being send (Because it fetches the data from cloudDB). It shows in both companion app and apk. But I'm not sure why in apk the data that supposed to be send to database is not sent. I've read about changing the DefaultFileScope to legacy, but the steps doesn't do any change. I'm currently using android 12.