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

Offline cubing.js #125

Open
thehale opened this issue May 2, 2024 · 0 comments
Open

Offline cubing.js #125

thehale opened this issue May 2, 2024 · 0 comments

Comments

@thehale
Copy link
Member

thehale commented May 2, 2024

Currently, the puzzles are rendered via cubing.js in a webview. The cubing.js code is loaded from a CDN, which requires an active internet connection. I'd like to bundle the cubing.js code into the app itself so that everything can work fully offline.

Initial resources that may be helpful to understanding current challenges/potential future solutions

[Android] Opening local HTML file as text · Issue #428 · react-native-webview/react-native-webview

https://gist.github.com/paldepind/8cbc430575cd075144d291b0eff463fc

ReactNative: WebView with local content

Loading in-app content | Android Developers

https://medium.com/@snehabagri.90/reactnative-webview-with-local-content-c98a09340801

https://github.com/birdofpreyru/react-native-static-server/tree/master

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

1 participant