skip to Main Content

I’m developing an e-commerce application, and on entering the product details screen, the app gets stuck at loading , and then crashes after a while, it doesn’t show any specific app related, error which I can recognize and work on, neither is there any error on tha backend, the API responses load perfectly.

And this happens on both Android emulators and iOS simulator, same on real devices as well.

The console logs shows –

I/scudo   ( 7103): Scudo OOM: The process has exhausted 256M for size class 11664.

enter image description here

Can anyone please help with this?

2

Answers


  1. Try running:

    dart pub cache clean
    

    and:

    flutter clean
    

    Then run:

    dart pub upgrade
    

    and try rebuilding your project for the target platform.

    I hope it works 🤞

    Login or Signup to reply.
  2. I believe that the problem is in your productDetailsProvider. Since you did not provide the detail about it, I think your code did not set the state to ProductDetailsSuccessState after fetching successfully and you then it kept loading

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search