Closed AlessandroToschi closed 1 month ago
If PR are welcomed, I opened one #839
Same issue, how can we fixed it?
Same here, this is my Top-1 crash issue in firebase.
@CaiJingLong I found a solution here, could you take a look and merge to master ? https://github.com/janeleelee/flutter_photo_manager-2.6.0/commit/e1fb107ee2a300e0634e6b52ef89e9f68c70a37e
Thx
Can someone provide a complete example?
For my case, I cannot reproduce from my side. I only see crash in crashlytics. From crashlytics info, it crash when app in background. More like crash when app terminal.
Is it possible to extract a reproducible Demo?
Is it possible to extract a reproducible Demo?
Hi @CaiJingLong ,
We cannot reproduce from our side, we only see log than crash in background. We tried this fixing and release to store more than 1 year, https://github.com/janeleelee/flutter_photo_manager-2.6.0/commit/e1fb107ee2a300e0634e6b52ef89e9f68c70a37e This crash not happen any more.
Can you review the fixing and merge in master ? We want to use photo_manager in master in long term.
Thanks,
I've added detaching state awareness implementation in https://github.com/fluttercandies/flutter_photo_manager/pull/1186. It should be available in the next release.
Describe the bug
We're experiencing a crash when using the library change notifiers and the user quits (force exit) the app on iOS.
Our app is a photo video editor and when users kill the app after export sometimes we receive the library change notification since we've saved a new image within the gallery.
This happens when the flutter engine has already been torn down, and so the method channel is not available anymore.
I'm able to reproduce this crash sometimes as well as Crashlytics reports them happening in background.
Here is the crash:
To Reproduce Steps to reproduce the behavior:
Expected behavior The plugin should react to
detachFromEngine
event and set to nil each method handler on each method channel.Flutter version 3.3.1
Smartphone (please complete the following information):