Re:Show HN: Make an app by adding JSON to this app
by gliechtenstein on Saturday November 05, 2016 @12:05PM
(#12880308)
Currently, it is possible to set a data-uri as the root url (in a correct format https://en.wikipedia.org/wiki/Data_URI_scheme) I think that's one way you could handle this situation.
Or one could fork the code and change a couple of lines to make this work, technically it would be just a couple of lines of code, but I think policy-wise it needs to be thought out.
Please follow the project and feel free to start an issue thread, we can discuss further! :)
Re:Show HN: Make an app by adding JSON to this app
by joelhaasnoot on Saturday November 05, 2016 @11:57AM
(#12880271)
This indeed: there are more cases than you think where someone downloads your app but has no internet connection when using it. And that could be the first time. Shipping a JSON file ensures the end user will always have something. That something could be as simple as a message "I'm loading data, internet connection is required".
Still, very cool!