-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: use latest Amplitude Browser 2 SDK (2.11.10) for flutter SDK web #216
Conversation
Library plugin not yet functional, need to instantiate before passing Autocapture seems to be occuring when using unified script
- Use js_interop_unsafe to map directly to JSObject for interop - Use script loader to load Amplitude-Typescript as unified script had bugs - Add some web specific configurations to configuration.dart
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @chungdaniel for supporting Browser 2.x in Flutter. Overall looks good to me. See comments. Can we add update the test for the new configuration options? Thanks
- also change wording for getEvent for PR comment
- Add device ID doc for Android - Make documentation more explicit to show in editor on hover - Use single `minTimeBetweenSessionsMillis` argument to map to both mobile and web - Add "offline" to configuration for iOS/Android
also rename minTimeBetweenSessionsMillisForWeb for consistency
Lint was failing as maxos-12 has been deprecated https://github.com/amplitude/Amplitude-Flutter/actions/runs/12656972512/job/35270750527
swiftlint not found, potentially related to xcode version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you Daniel! LGTM
I've decided to remove |
# [4.0.0-beta.6](v4.0.0-beta.5...v4.0.0-beta.6) (2025-01-08) ### Features * use latest Amplitude Browser 2 SDK (2.11.10) for flutter SDK web ([#216](#216)) ([3ba2a54](3ba2a54))
🎉 This PR is included in version 4.0.0-beta.6 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Primary changes:
js_interop
andjs_interop_unsafe
rather thanpackage:js/js.dart
andpackage:js/js_util.dart
js_interop
Extras:
Note:
js_interop
,package:js/js.dart
)Jira tickets: