API works in Test Mode but not when Deployed Internal Testing

Database & APIs

I have a project where it is sending a photo/text to a google apps script webapp as a post of json. It works perfectly fine while running as a test mode. However, when I deployed it to google play console through mobile deployment and download it from google play store, it keeps raising an error.

I am very new to FlutterFlow and I don't know how to debug. Any help would be greatly appreciated.

EDIT: I should also mention that I have set up so that when the API to the web app fails, it shows alertbox. I'm not sure what I should show for screenshot.

What have you tried so far?

I have numerously input sha1 and sha256, tested on Postman to make sure API is working fine (it is, and it works fine on test mode too. Just not as an app.)

EDIT:

Okay so I have been trying out couple things and I feel like I should share them with you.

1) It's not CORS issue. The API is now on aws ec2 with a domain and ssl certificate and I have allowed all resources to make request.

2) When i switched to the aws ec2, it used to work but I guess I tweaked something and now it doesn't work. The only thing I have changed was firebase storage rule which I feel like it shouldn't matter in this case?

3) It works in test mode even when I turn off proxy for test mode (under API's advanced settings).

I feel like it should be something simple but its not. Is there a way where I could debug an app that has been installed on someone's phone? I have very little experience in making mobile application.

Did you check FlutterFlow's Documentation for this topic?
No
2
2 replies