PostHog / posthog-flutter

PostHog Flutter SDK
https://posthog.com/docs/libraries/flutter
MIT License
48 stars 34 forks source link

chore: add unregister method #86

Closed marandaneto closed 4 months ago

marandaneto commented 4 months ago

:bulb: Motivation and Context

Add unregister method.

Follow up https://posthog.slack.com/archives/C04MZFDA5KK/p1709027632605249 the user didn't need to reset, but could register and unregister something.

:green_heart: How did you test it?

:pencil: Checklist

marandaneto commented 4 months ago

Your changes look good, so happy if you want to merge this or hold off until the strange behaviour is understood better

will merge it, if there's something off is on the JS SDK, and it works well for Android/iOS (main targets anyway).