-
Notifications
You must be signed in to change notification settings - Fork 49
Lifecycle events not sent #42
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
Comments
Hi @lironzemingo thank you for your report, we start looking into this. |
I also don't get Application Installed events. |
@edsonjab I think I figured it out. in createClient:
you're initializing and persisting the |
When is this being merged into main? Currently sitting in a branch |
- Fixes Lifecycle events not sent #42 lifecycle events Foreground/Background not being detected and sent properly. - Adds FgBg as a dependency again since iOS/Android have incorrect behaviours when system UI is shown on top of the app. WidgetObserver lifecycle detection is still the default for all other platforms. - Refactors the lifecycle to simplify and remove unused classes. - Refines the solution for App Installed events with shared_preferences to prevent pollution on the context JSON object - Ignores Installed/Updated events on web - chore: I removed Firebase from the example since it's a little bit of hassle to run it as you have to register for firebase. It also brings a lot of dependencies. Let's keep it simple for now.
Hi,
I'm creating the client in the following way:
_analyticsClient = createClient( Configuration(FlavorHelper.getSegmentWriteKey(), trackApplicationLifecycleEvents: true, debug: kDebugMode));
but lifecycle events are not sent properly. only "Application Opened" is sent on app launch, but not "Application Installed" or "Application Backgrounded" .
why is this happening? is the configuration right?
Tested on an Android Samsung S22, Android 13 OS.
The text was updated successfully, but these errors were encountered: