FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
120 stars 18 forks source link

Local Run : Pending API Call #4001

Open MamadAsap opened 1 day ago

MamadAsap commented 1 day ago

Can we access your project?

Current Behavior

I have an issue with a custom calls ( PUT/POST and GET request ) , when i set my calls and try it everything is ok i have responses but when I test it from the local version of Flutterflow it works but when I use the local run the call remains pending...

Expected Behavior

calls should return responses as when i preview and test

Steps to Reproduce

  1. Create a custom call
  2. Add this custom on a page
  3. Launch the simulator
  4. Check the debug tool / Network tab

Reproducible from Blank

Bug Report Code (Required)

IT4Ol8iAz4hgoctH176Jc/pV+TsUJlgnbZZMju5xaEo0G5fNGogUY8jeVERoTu3idFFifWeKo2oW0vT9kof1Kfk3EweCfYBDzLpyeg3hXkKnbrqIFJWgQkBBO5hWJm6y58PUuBFQC/V2R1If2juQAOetaHHtK5D1PVUkDq/LZO4=

Visual documentation

Local Run Pending API

Environment

- FlutterFlow version: 5.0.3
- Platform: Desktop
- Browser name and version:
- Operating system and version affected: Mac OS Sequioa 15.0

Additional Information

No response

Alezanello commented 1 day ago

Hi there!

I wasn’t able to replicate the issue, but I have a theory and could use your help in testing it. I suspect the problem might be related to Supabase API calls in the iOS simulator. Could you try adding another API call in your project to see if it’s just the Supabase API calls, or if all API calls are not working on the iOS simulator?

For example, I used this GET API call for testing:
https://jsonplaceholder.typicode.com/posts

Let me know how it goes or if you need further assistance!

image.png
MamadAsap commented 18 hours ago

Hi @Alezanello no, in fact my supabase calls work perfectly, my problem is with calls that are stored on a personal domain. the call stay in pending status and there is no timeout...