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

How to run a native binary from a webapp? #63

Open
farooqkz opened this issue Oct 1, 2024 · 2 comments
Open

How to run a native binary from a webapp? #63

farooqkz opened this issue Oct 1, 2024 · 2 comments

Comments

@farooqkz
Copy link

farooqkz commented Oct 1, 2024

Hello. For writing KaiOS version of DeltaChat, we need to run a native binary which is the core functionality of the app. How could we achieve this from the webapp?

cc @Simon-Laux

@Simon-Laux
Copy link

On rooted devices it's just android without java so it's simple, but would be nice to have some cleaner option that also works on non-rooted devices so that the app could be added to kaiOS store sometime in the future officially.

Why do we need a native binary?
Because deltachat-core-rust doesn't yet compile to wasm, and wasm might still need some extra features. Also kaiOS 2.x has no wasm support to my knowledge.

Why is there low risk?
Delta chat core is opensource and the html/frontend/ui app will be as well.
The only risk I could imagine is impact on battery, but we also have an interesst in reducing battery usage because of our android and iOS app that are based on the same core library.

@ffoxD
Copy link

ffoxD commented Oct 2, 2024

I believe that the ability to run native binaries would greatly benefit app developers, KaiOS partners and KaiOS as a platform. Palm webOS, which used the same Web app approach that FirefoxOS and KaiOS do, allowed developers to integrate native code into their apps. I hope KaiOS takes this into consideration

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

No branches or pull requests

3 participants