auth0-flutter icon indicating copy to clipboard operation
auth0-flutter copied to clipboard

Add Support for WASM Compilation in Flutter 3.22

Open EduardoYamauchi opened this issue 1 year ago • 7 comments

Checklist

  • [X] The issue can be reproduced in the auth0_flutter sample app (or N/A).
  • [X] I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
  • [X] I have looked into the API documentation and have not found a suitable solution or answer.
  • [X] I have searched the issues and have not found a suitable solution or answer.
  • [X] I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • [X] I agree to the terms within the Auth0 Code of Conduct.

Description

Hello,

With the release of Flutter 3.22, the WASM (WebAssembly) compiler can now be integrated. I believe it has become the standard for Web applications at some point.

https://docs.flutter.dev/platform-integration/web/wasm

Please add support for compiling with WASM. flutter build web --release --wasm.

Thank you!

Reproduction

flutter build web --release --wasm

Additional context

No response

auth0_flutter version

1.7.2

Flutter version

3.22

Platform

Web

Platform version(s)

No response

EduardoYamauchi avatar Jun 11 '24 19:06 EduardoYamauchi

This package needs to be switched from package:js to package:web and package:js_interop

slavap avatar Jun 25 '24 01:06 slavap

same here. WASM is now stable in flutter please make this a priority.

kod3000 avatar Aug 07 '24 15:08 kod3000

Any news about that?

MrObe13 avatar Aug 28 '24 13:08 MrObe13

I attempted to rewrite this myself cause as mention its a thing of changing out old dependencies, but encountered some challenges. It seems that Flutter support is minimal as they have a backlog going to Mar 2023. Looking at the ppl who are actually committing it appears to be outsourced rather than handled internally. I'm seriously considering moving away from this platform entirely, as their lack of active development is concerning—especially in the security sector, where consistent updates are crucial.

kod3000 avatar Aug 28 '24 18:08 kod3000

Any news on it? This is the only package which stops our project from moving to wasm

Nitrono avatar Sep 13 '24 12:09 Nitrono

@desusai7 Can you give some light on this issue. This is already in the roadmap for this plugin ?

EduardoYamauchi avatar Sep 13 '24 13:09 EduardoYamauchi

hey everyone 👋 thanks for your patience here! we're having internal discussions on prioritising WASM support in Q4. I'll be able to share more details by the end of this month.

brth31 avatar Sep 19 '24 10:09 brth31

update: we should be able to support WASM compilation in Nov. I will share more updates and exact timelines by mid Nov.

brth31 avatar Sep 27 '24 13:09 brth31

update: we should be able to support WASM compilation in Nov. I will share more updates and exact timelines by mid Nov.

any updates?

gyoussef55 avatar Nov 24 '24 05:11 gyoussef55

hey @gyoussef55! 👋 apologies for the delay here. We're planning to support this as a part of the next major version that we're actively working on. The release is tentatively planned for mid Jan.

brth31 avatar Nov 27 '24 08:11 brth31

Thanks for the update @brth31 . Just checking in since today is January 20th, and I haven't seen any updates regarding this. Is the release still on track for mid-January? Looking forward to it!

GZaccaroni avatar Jan 20 '25 09:01 GZaccaroni

Hi @gyoussef55 , This is a WIP at the moment along with few other things . We have hit few blockers during WASM compilation which is being resolved . We are targeting to release it sometime next week . Thanks for your understanding

pmathew92 avatar Jan 20 '25 10:01 pmathew92

@Widcket We have a prevision of this? Flutter is already in version 3.29 on stable

EduardoYamauchi avatar Feb 28 '25 16:02 EduardoYamauchi

WASM support is added in auth0_flutter v1.9.0 release

pmathew92 avatar Mar 05 '25 12:03 pmathew92