Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flutter lifecycle management broken #15

Closed
lora-explora opened this issue Dec 6, 2024 · 3 comments
Closed

Flutter lifecycle management broken #15

lora-explora opened this issue Dec 6, 2024 · 3 comments

Comments

@lora-explora
Copy link

I found a bug regarding lifecycle management.

In my Flutter app, I use a lifecycle observer to perform some operations when the app enters the foreground.
This can be done using AppLifecycleListener or by extending WidgetsBindingObserver and overriding didChangeAppLifecycleState().

Aptabase blocks the lifecycle events though, so the callbacks are not getting called anymore.

This may also cause an issue with device language switching.

@lora-explora
Copy link
Author

I see you already have a PR open for this 🙏 When do you plan on including it? I want to release my app very soon and want to use tracking & need the onresume logic at the same time.

@cristipufu
Copy link
Member

@lora-explora do you wish to review the PR before merging it and releasing a new version? #16

@cristipufu
Copy link
Member

@lora-explora we just released 0.4.1. Let me know if everything works as expected please, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants