PostHog / PostHog/posthog-flutter
Remove method channel for web
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Dart
- Stars
- 97
- Forks
- 85
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 31
Description
Description
Web code routes through MethodChannel unnecessarily. Ideally, we should be calling purely through PosthogFlutterWeb and drop method channels for dart-to-dart calls.
Should be tested against min Flutter SDK version first
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the PosthogFlutterWeb entry point and the web MethodChannel routing. Check the minimum supported Flutter SDK before changing the call path, then verify that web code uses direct Dart-to-Dart calls without the channel and that the SDK still builds and tests successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- web-dev
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100