-
Notifications
You must be signed in to change notification settings - Fork 0
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
How to connent network? #2
Comments
Yeah unfortunately I've had the same problem. It's one of the main things that's halted development of some more useful applications. I think the way Amazon does it in there applications is fetching data in the native Java side, and then sending it over to the JavaScript side. Unfortunately, we can't do that since we can't compile our own native launcher for the JavaScript bundle. I currently have no idea of how to solve the problem, but if you have any ideas I'd love to work out a solution with you! One of the solutions I've considered, but have not tested, is finding a way to run some sort of external application that does the fetch request on behalf of the JavaScript and then sends it to the JavaScript side. I think this might be possible using LIPC stuff. It's possible for the ImageView to access network images I believe, so it should be possible for the JavaScript code to access network requests some how. |
using LIPC to transfer data is possible. Have you already found how to run lipc in react app? |
Unfortunately, not yet. The Kindle web apps (their actual name escapes me at the moment) have a |
it's disappointing. |
It's really a wonderful project, but I found when I use fetch or XMLHttpRequest, nothing happend. I tried my best but nothing works. Do you have some ideas?
The text was updated successfully, but these errors were encountered: