Skip to content
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

Update dependency on js package to 0.7.x #191

Closed
john-paradym opened this issue Jun 17, 2024 · 7 comments
Closed

Update dependency on js package to 0.7.x #191

john-paradym opened this issue Jun 17, 2024 · 7 comments

Comments

@john-paradym
Copy link

Summary

The js dependency in pub spec.yaml is using an old version of the js package

Even the 4.0.0 beta is using js 0.6.3, which is over 3 years old now

Motivations

We have other packages in our app that already have updated to js 0.7.1, but I cannot update them (without hacking a dependency override) until Amplitude updates to the later versions of js

@izaaz
Copy link

izaaz commented Jun 21, 2024

Thank you for the feedback @john-paradym. We haven't added browser support for the v4.0 SDK yet (it still contains the old browser support from the main branch). But i'll add a note to that feature to make sure this gets updated.

@GP4cK
Copy link

GP4cK commented Jul 23, 2024

Actually it would be good to remove the dependency on js and use dart:js_interop instead to enable compilation to WASM. See: #197

@suiebay
Copy link

suiebay commented Aug 20, 2024

Any update or changes?

@vilorel
Copy link

vilorel commented Oct 20, 2024

Any updates? It's 3 months now and many highly popular packages have already moved to js: 0.7.1 which now represents a blocker for us to adopt.
I tried to override the dependency, but it breaks the Android build.

@vilorel
Copy link

vilorel commented Oct 27, 2024

@izaaz could you or someone from the team share a status update? This is a blocker and has been pending for some timeno now. Also, although we keep asking, there are no updates either. Thanks.

@Saed-Eltalwy
Copy link

@izaaz We are facing the same block as we transition to Amplitude, but we already have some dependencies using js: 0.7.1.

@chungdaniel
Copy link
Contributor

Hey! I've upgraded the dependency of package:js to ^0.7.0 in 3.16.5 with #213 / #215. We will look into removing js and using dart:js_interop in v4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants