PostHog / posthog-android

PostHog Android SDK
https://posthog.com/docs/libraries/android
MIT License
43 stars 23 forks source link

Use uuidv7 instead of uuidv4 #141

Closed marandaneto closed 4 months ago

marandaneto commented 4 months ago

Description

After the migration, events from older versions of the SDKs won't work when using Session properties such as Session durations (Part of the new Mobile dashboard template). Web analytics need to migrate from v4 to v7 to speed up a few things:

@robbie-c It pretty much is a must, as it allows sampling by session ID, and even without sampling it's about 2x faster. I can't really release web analytics without this change

So we need to fit this within this sprint or latest the beginning of the next sprint before Web Analytics does the migration and breaks the current version of the SDKs