-
Notifications
You must be signed in to change notification settings - Fork 79
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
Error when running example on Flutter web #460
Comments
I have the same error. @temeddix, any suggestions? |
Unfortunately I wan't able to reproduce the issue on macOS The issue you've encountered should be related to the line below. When Flutter app is loaded on the web, Rinf makes a global
May I ask you if Dart's hot restart makes the app work? |
@temeddix, thanks for the reply! |
I'm facing the same issue on macOS. I tried a hot restart with no luck.
I tried both:
in either cases the error was following:
in fact, when I check imports.wbg.__wbg_sendrustsignalextern_17d20de30a559742 = typeof rinf.send_rust_signal_extern == 'function' ? rinf.send_rust_signal_extern : notDefined('rinf.send_rust_signal_extern'); There is also a warning in the browser console that I'm not sure if it's related to
Is there anything I can help with? Perhaps provide more information or try something? |
Thank you @poborin :) I will test the web part as soon as possible just like the way you've described. |
Thank you, everyone. Your comments have been a big help in finding the error on the web. It looks like the behavior of |
Report
I encountered an error when running the example from the RInf repository on the web.
Here is the error I received:
The example works fine on iOS.
Seems like the problem occurs by the generated file generates from
rinf wasm
I'm currently using
rustc 1.81.0
Flutter:
The text was updated successfully, but these errors were encountered: