-
Notifications
You must be signed in to change notification settings - Fork 75
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
ParserError: [xmldom error] for demo app on Android #1086
Comments
Hi @thomas-huegel - from the error I suspect the device is not able to reach the server. I assume you're trying from a device, not from an emulator?
where x.x.x.x is the IP of your local host. Your device and your host need to be on the same WIFI network. Additional notes:
Let me know if that helps. Thanks! |
Hi @thomas-huegel - an update on my previous reply:
This is no longer needed now that 0.89.0 is released |
Hi @flochtililoch
Thanks for your help. |
Good suggestion, here it is: #1091
This error is what I explained in the 3rd bullet point of my first reply, then mentioned after is now fixed (I just retried, the error no longer happens on my end). Make sure you pull latest master and re-install node modules on the demo/ directory. |
@thomas-huegel did the last suggestion solved your issue? |
Hi @flochtililoch |
I get confused by the doc : https://hyperview.org/docs/guide_installation
But then my machine listens on port 8081 (with exp://), not 8085 (with http://).
|
I ended up understanding that we may need both But it does not work on a tiny «Hello world» app I wrote serving XML files on another port (instead of using
I set the
It could be nice to add such a simple example to the |
Node version is not installable via a dependency listed in the package - I would recommend you to use NVM, which allows you to install several versions of Node while leaving the default/system-installed one untouched. That's what I use in my daily workflow as I'm working in many different node projects. I will add the additional .nvmrc file in our project to help make the version switch more automated.
Yes, I'll update the doc to make this very clear - you need to have both running at the same time. The command
Ok, I've seen this too, there's a glitch in how the process is started, which messes up the prompt after killing the process. Minor annoyance, but I will file it too (EDIT: #1093). My workaround has been to press |
Hi @flochtililoch |
@thomas-huegel the entry point for the demo app is configured here. The URL that the app hits first is: |
Hi @flochtililoch
On https://hyperview.org/docs/example_navigation they do not use |
Hey @thomas-huegel. It looks like the documentation in https://hyperview.org/docs/example_navigation isn't complete: it should mention that as a pre-requisite, you need to need to implement the Typical structure for the most basic app is:
|
Ok, thank you, screens now work with a root
Is there something special to do? include the POST route into a navigator? |
I ended up putting |
Thanks, it looks like the markup on that page is also not complete. Fixed in #1103 |
See comment: #1086 (comment). Co-authored-by: flochtililoch <flochtililoch@gmail.com>
I think your original issue is fixed, so I'll close this one for now. |
Hi @flochtililoch |
Thanks for pointing that out, the doc is incorrect, I will fix that other issue too. If you spot any other inconsistencies, please let me know, and feel free to also submit PRs to fix those! Thank you. |
Hi,
I have followed the indications on https://hyperview.org/docs/guide_installation and I am encountering the following error on Android:
Node v23.8.0
Yarn 1.22.22
The Expo App v52 did not work on my Android phone, and I was asked to install v49 to match the server's version.
I have the same error with the Android emulator for Pixel_3a_API_34_extension_level_7_x86_64.
Thanks for your help!
The text was updated successfully, but these errors were encountered: