Search code examples
androidflutterdartflutter-getxstate-management

How to fix loading issue with flutter app on apk release


I am building a flutter app. I use Getx State Management. I fetch the data from internet using Getxservices

The app works fine on debug but I face this issue on apk-release. First when I install the app on android phone, it will work perfectly like this:

enter image description here

But when I close the app and re-open it, I will have a screen like this:

enter image description here

Below is my AndroidManifest

enter image description here

The app works fine on debug mode so there is no way I can debug it to know the exact thing causing the issue.


Solution

  • I have gotten the solution. I added splash screen and loaded all my resources on splash screen and the issue is gone.