iPad local hosting

Is there a way to locally host a Hype website on an iPad for use only on said iPad? I remember years ago, Dropbox use to allow hosting. Doesn’t seem to allow that anymore.

Maybe Wrapping is what you’re looking for… https://photics.com/tools/wrapping/ …it was designed to wrap a Hype project as an Xcode WKWebView. From there, you can just preview it on your iOS device. Although, Wrapping is a paid app and you’ll likely need an Apple Developer Account to preview apps on your testing device.

But once it’s there, it’s kinda works like a kiosk. There’s even a Guided Access option in iOS to limit access to just the app… https://support.apple.com/en-us/HT202612

2 Likes

I think that might be what I’m looking for. Thanks!

Also check out the PWA’s and the current offline web implementation (document panel)

1 Like

Awesome! I love options…thanks!

Hello,
Is there a size limitation of the offline storage like the 50mb of PWA ?
I want to store images and pdf in the app.

Thanks in advance.

You can test how much localstorage and sessionstorage can be stored using this tool: http://dev-test.nemikor.com/web-storage/support-test/

This page is useful reading on the state of the art: https://developers.google.com/web/fundamentals/instant-and-offline/web-storage/offline-for-pwa

Thanks for the links.
Argh, it does not help me.

I want to make a web-app (for ios and android) that connect to an ftp, list and store images and pdf to read it offline…
So it’s very limited…need to think to find a solution :thinking:

A web page cannot connect directly to FTP; you would need to have a server-side component that does the talking to an FTP server. Then your data on the web page/hype page would be proxied through this and communicates with AJAX or WebSockets.

Yes, I’ve made some test in php to connect ans list the ftp directory and it’s ok. I’m looking tu use node.ftp…
Perhaps I missed something. What is the differences between offline web-app checked in hype 4 and not checked, in case I use local-storage with javascript ?
Thanks.

The offline web app will create a cache.manifest file that downloads the site’s .html file and other non-dynamic assets. This allows a user to go to the URL even when they are not connected to the internet.