posthog-flutter
posthog-flutter copied to clipboard
PostHog Flutter SDK
### Description https://github.com/PostHog/posthog/issues/12344#issuecomment-1421007621 People also asked on the slack community channel. Related issue https://github.com/PostHog/posthog/issues/13267 and https://github.com/PostHog/posthog/issues/12344 Related Flutter issues https://github.com/flutter/flutter/issues/129098 https://github.com/flutter/flutter/issues/66863 https://github.com/flutter/flutter/issues/117382
### Description Relates to https://x.com/caseycrogers/status/1763498570307551663?s=20
### Description ### Description You can use Surveys thru the APIs directly, see this [comment](https://github.com/PostHog/posthog-js-lite/issues/110#issuecomment-1909994007). - [ ] [Android](https://github.com/PostHog/posthog-android/issues/102) - [ ] [iOS](https://github.com/PostHog/posthog-ios/issues/168) - [x] [RN](https://github.com/PostHog/posthog-js-lite/issues/110) - [ ] [Flutter](https://github.com/PostHog/posthog-flutter/pull/123)...
### Description https://posthog.com/docs/libraries/js#ensuring-flags-are-loaded-before-usage - [ ] Flutter - [ ] RN - [X] Android - [X] iOS
https://posthog.com/questions/flutter-for-windows-support https://posthoghelp.zendesk.com/agent/tickets/16890 The Flutter SDK depends on the Android and iOS SDK. Ideally, the SDK would also have a pure Dart client that works on Desktop or we should embed...
### Description https://posthog.com/docs/toolbar/heatmaps We'd need to create a Widget wrapper that tracks and captures every interaction such as clicks, etc. You can manually do this though, by [capturing events manually](https://posthog.com/docs/libraries/flutter).
I haven't seen any method to set configuration(API_KEY, POSTHOG_HOST, TRACK_APPLICATION_LIFECYCLE_EVENTS, DEBUG) from dart layer. Better to have `config/init` function to set API_KEY and other option based on dynamic environment from...
### Version 4.5.0 ### Steps to Reproduce in a flutter web project, build it with `flutter build web --wasm` ### Expected Result it builds ### Actual Result it doesn't build...
## :bulb: Motivation and Context Closes https://github.com/PostHog/posthog-flutter/issues/81 ## :green_heart: How did you test it? :warning: Requires testing after initial feedback ## :pencil: Checklist - [x] I reviewed the submitted code....
## :bulb: Motivation and Context #69 ## :green_heart: How did you test it? ## :pencil: Checklist - [ ] I reviewed the submitted code. - [ ] I added tests...