Describe the bug
We have listview which has heterogeneous widget loading inside. Some of this widget just loads image using CachedNetworkImage and some have API call using HookConsumerWidget's useEffect & Dio.
This HookConsumerWidget items of listview sometimes just initiate API call but are not completed. This behaviour only happens on release iOS build, on debug it works perfectly and also on Android works well for debug & release.
I tried changing useEffect with FutureProvider & FutureBuilder but the behaviour is still random.
To Reproduce
To reproduce its simple to re-launch app multiple times and the list item having API call loads randomly.
Expected behavior
The behaviour of loading the items should be consistent on debug and release. Right now it is working on debug iOS build but not on iOS release.
Describe the bug We have listview which has heterogeneous widget loading inside. Some of this widget just loads image using CachedNetworkImage and some have API call using HookConsumerWidget's useEffect & Dio.
This HookConsumerWidget items of listview sometimes just initiate API call but are not completed. This behaviour only happens on release iOS build, on debug it works perfectly and also on Android works well for debug & release.
I tried changing useEffect with FutureProvider & FutureBuilder but the behaviour is still random.
To Reproduce
To reproduce its simple to re-launch app multiple times and the list item having API call loads randomly.
Expected behavior The behaviour of loading the items should be consistent on debug and release. Right now it is working on debug iOS build but not on iOS release.
Sample Code:
One of the ListView item widget
userSpecificFdCardsViewModel