snowplow / snowplow-android-tracker

Snowplow event tracker for Android. Add analytics to your Android apps and games
http://snowplowanalytics.com
Apache License 2.0
107 stars 63 forks source link

How to flush() pending events on 6.x.x? #679

Open coreypett opened 4 months ago

coreypett commented 4 months ago

Is your feature request related to a problem? Please describe. No

Describe the solution you'd like I would like to be able to flush my buffered events on logout

Describe alternatives you've considered Reverting back to a previous snowplow sdk version

Additional context No

Hi, I can't seem to find anywhere besides old SDK documents on how to flush pending/buffered events?

matus-tomlein commented 4 months ago

Hi @coreypett, that is a good call, the flush() function doesn't seem to be exposed on the Android tracker (it is on the iOS tracker)! We will work on adding this in. Contributions are also welcome if you are up for it!

coreypett commented 4 months ago

Ooo, thank you! Good to hear. I'll take a gander!