-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
Mobile Support #12
Comments
I think it would be possible to make a stripped down version of nativeshell for mobile which would contain things like interfacing with platform channels, so that it would be possible to write platform channel handlers in rust. However unlike on desktop, I think that on mobile the way flutter build normally works (where xcode / android studio builds the project) actually makes sense, so the rust code would probably need to be integrated as a library to existing xcode / android projects. This all should be doable, but it's not really on my radar right now. |
OK, cool. I don't think it's something worth focusing on at the moment, but if it's not an anti-goal then at least if I ever want to do that it's something I might be able to contribute. It would be amazing to create a way to do Desktop, Mobile, and even Web if possible with the smae codebase like is mostly only accomplished using web technologies now-a-days, which is not my favorite if I can get away from it. |
It's also possible to write flutter plugins in Rust and I assume you could then use that on both desktop and mobile. I've realised that it's even simpler than the above linked blog post since Dart has bindgen tools to automatically generate bindings from header files. |
I know the point of nativeshell is to support desktop applications, but would it be possible to build nativeshell for iOS and Android, too, so that we could still use Rust to write mobile apps as well?
The text was updated successfully, but these errors were encountered: