-
Notifications
You must be signed in to change notification settings - Fork 146
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
Compose Multiplatform support for Web (Wasm) #440
Comments
Unless Google adds official support for WASM to Firebase the only way to get it working would be to bind the calls from wasm to the Firebase JS SDK like we do now for traditional JS targets. Im afraid I don't know enough about wasm to comment on how to do this but I can see something similar has been attempted for rust: https://github.com/jquesada2016/firebase-wasm-rs |
Have you tried to copy/paste the kotlin/js implementation to the wasm ? maybe could you create a branch where you copy/paste and I can fix the issues ? |
Also interested in WASM integration. Currently using js version of firebase in wasm target. Copying the kotlin js implementation to wasm js should work. Some features of kotlin js are not available/different in wasm, so some tweaks could be necessary. |
Also interested in seeing this happen |
Any updates?( |
I have copy/pasted js variant to wasmJs one but I cannot push my branch... 🙄 |
you need to create a fork and push to that and create your pr from there |
if some of you can build and deploy locally to try -- some classes are missing, trying to replace them |
@Thaerith I had a short look onto your PR and I am surprised that the compiler for the |
You're right, the copy/paste approach cannot work. I pushed to fast, sorry. I am trying to convert to wasm api (using JsArray...). For most of methods it can work but there is tricky parts (usualy with '.toJSon' extensions) where I'm not sure what to use (using external interfaces seems OK but the extension has to be converted to simple method). I will check your solution 👌 |
I followed your copy paste suggestion by myself. But only for the
|
Hi any update |
@nbransby Hello, can you share your thoughts about wasm support?
As I can see, it's relevant for some people (including me)
#426
The text was updated successfully, but these errors were encountered: