ihp
ihp copied to clipboard
mobile app
rails is using turbo to create mobile apps: https://github.com/hotwired/turbo-ios
has anyone created a mobile app from their ihp web app?
@Montmorency has shipped a react native app as a frontend to an IHP app using IHP DataSync
Here's an example repo btw https://github.com/digitallyinduced/ihp-backend-expo-starter/blob/master/App.tsx#L57 (it's a bit outdated, but the gist is the same today)
Hi Yes, We use a managed Expo/React Native workflow. ihp-datasync dropped in directly and is working very nicely fetches all user data and with the expo libraries even enables push notifications.
We are using react native webviews to render html content from server.
My original plan was actually to use turbo but I was waiting for the strada part of turbo to be officially released which I think was the library that had the native/web bridge code but it still isn't released officially.
A very cool development would be to create native android/ios DataSync modules for working with IHP.
Also, as a lighter alternative, Tauri V2 now supports mobile, Android iOS builds.
https://next--tauri.netlify.app/next/mobile/
A project I would consider if I did an IHP mobile app again would be https://hyperview.org/
Lets you serve XML from IHP and have your mobile app be a thin hypermedia client for your backend with code looking like this:
<doc xmlns="https://hyperview.org/hyperview">
<screen id="main">
<body>
<text>Hello</text>
</body>
</screen>
<screen id="otherScreen">
<body>
<text>Hello again</text>
</body>
</screen>
</doc>