NeoHaskell icon indicating copy to clipboard operation
NeoHaskell copied to clipboard

Make the CLI support generating mobile apps

Open NickSeagull opened this issue 2 years ago • 4 comments

As per the tweet I made some time ago: https://twitter.com/NickSeagull/status/1700859705021571543

It is completely possible to create native mobile apps using NeoHaskell as the main codebase and a thin HyperView client that renders what NeoHaskell sends to it. (Caching the views so they have offline mode of some sorts)

The HyperView client part is an implementation detail that should be hidden from the users unless they really want to "eject" it and modify to their tastes (e.g. adding other native functionalities not handled by HyperView), but ideally in the future this client should be also configurable through NeoHaskell.

The CLI tool should be able to generate the client in an easy and transparent way for the users, as well as the APK, whatever iOS uses. Or even desktop apps, as React Native supports it.

NickSeagull avatar Sep 20 '23 17:09 NickSeagull

Or even desktop apps, as React Native supports it.

Would this work in the same way as Tauri? Wondering about performance implications.

jaymakes11 avatar Oct 03 '23 02:10 jaymakes11

Yes, probably the same as Tauri in terms of packaging, but it'd be React Native instead of a webview

NickSeagull avatar Oct 03 '23 17:10 NickSeagull

It is completely possible to create native mobile apps using NeoHaskell as the main codebase

What codebase?

lemonlambda avatar Oct 06 '23 21:10 lemonlambda

What codebase?

The one of the user

NickSeagull avatar Oct 07 '23 20:10 NickSeagull