Add support for Flutter web
- Dominant language
- Dart
- Stars
- 12
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
### Prerequisites
- [x] This is not a Security Disclosure, otherwise please follow the guidelines in [Security Policy](https://github.com/adobe/aepsdk-flutter/security/policy).
- [x] I have searched in this repository's issues to see if it has already been reported.
### Feature request summary
Currently this package only supports iOS and Android. We use this package in our Flutter application for those platforms. We are in the process of deploying our Flutter app to the web, but this package's lack of support is currently a blocker to that. We are forced to either a) not deploy to web, or b) select another analytics service.
After a bit of research, I believe this could be added using the [AEP Javascript SDK](https://experienceleague.adobe.com/en/docs/experience-platform/collection/js/js-overview) and Flutter's [js_interop package](https://api.dart.dev/dart-js_interop/). That way, it could support web without needing to add a new package or separate implementation - I could implement the same API the native SDKs support.
Thanks for help with this 👋
### Current behavior
_No response_
### Expected behavior
_No response_
### Additional implementation details or code snippets
_No response_
Contributor guide
Research direction
Start by reviewing the package's existing iOS and Android APIs, then study the AEP JavaScript SDK and Flutter's js_interop package referenced in the issue. Define the web implementation around the same API exposed by the native SDKs, and consider the work complete when Flutter web applications can use this package with equivalent analytics behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- mobile-dev, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100