PostHog / posthog-flutter

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

feat: Add enable and disable to web implementation #25

Closed fdaugs closed 1 year ago

fdaugs commented 2 years ago

Changes

This PR adds support for enable and disable for Flutter Web.

Implementation

Following the existing implementation the calls will be delegated to the Javascript Client Library. enable maps to opt_in_capturing and disable to opt_out_capturing.

This Change does not belog to an open issue. But seemed like a pretty easy addition to me.