I have an Oculus Quest. I'm checking out a-frame and want to test my app on the oculus. I don't see any instructions for doing so in the docs. It works fine in Chrome, but how do I develop for the Oculus with A-Frame?
You need to open your website using the oculus browser. Open the browser, and type in the URL.
For developing You'll need a local server to serve the website and any assets. This itself is a huge topic, a simple solution could be using this http-server.
Alternatively You can also create a simple node server, stackoverflow has a huge thread on starting with node.
If you can access a website from you PC (where the server is running), then oculus connected with the same WIFI network should have no problems either.
Related
Browserstack has discontinued its chrome extension for local app testing and has moved to a desktop app/.exe that you have to download to do local testing.
I can't seem to get this working running Windows 10 and I'm wondering if anyone else has had this problem and resolved it.
When I download and execute their desktop app, it tells me local testing is enabled:
https://imgur.com/a/2ey7N3U
When I then use Browserstack Live to test local development I get an error message saying local testing is not enabled and it gives me the option to download their desktop app, which I have and says local testing is enabled:
https://imgur.com/a/YMd0LOj
I have tried uninstalling and reinstalling the desktop app/.exe, it gives me the same results.
I've confirmed with our network team that I am not behind a proxy which is an option to manage the desktop app (under "advanced settings" in the first screenshot above).
Our network team has also whitelisted all traffic from (asterisk).browserstack.com (the actual asterisk character is stripped here) and they're telling me "Additionally I watched his traffic on the firewall as he tried to use the browserstack software and no traffic was blocked
I've also been in contact with browserstack support but have basically been feeding their responses to our network team and our network team's responses back to browserstack. At the end of the day, I still can't get local testing working.
Does anyone have any ideas what might be happening and how I can resolve it?
I encountered the same behavior while setting up Local Testing with the BrowserStack Local Desktop app that was released after the announcement by Google about the end of support for Chrome apps (Click here). However, I was able to set-up Local Testing post configuring the proxy server details as mentioned over here.
I would suggest checking with your IT team if traffic for *.browserstack.com is being routed via a specific proxy at your end and configuring the proxy details in the 'Advanced Settings' for the desktop app.
In case this doesn't work, do contact BrowserStack Support
I've just created a feature for our application which generates a powerpoint report from the data a given user has in our system.
In short, the server spawns an instance of google chrome using Selenium's ChromeDriver, and from there scrapes out the charts from our application running in chrome. It was done this way to ensure the charts in the report look exactly the same as they appear in the clients' browsers.
We use Azure Web Apps to host our development and production environments, and while my reporting feature works fine in local environments, it doesn't work once deployed to any other environments, because it depends on chrome being installed, and I can't get it installed in the Azure Web App sandboxed environment.
(you can see this other question of mine for a bit of a reference to where things are going wrong: PowerShell StartProcess: invalid handle )
SO
What I pretty much want to know is, if an Azure Web App environment isn't going to allow me to install google chrome, where should I look next?
It looks like using Service Fabric may allow me to install what I need appropriately (https://learn.microsoft.com/en-us/azure/app-service/choose-web-site-cloud-service-vm), but it seems like a big change to make just to be able to facilitate this small part of the feature.
Another option is to just re-architect the feature so it doesn't depend on the server spawning an instance of google chrome.. but I'd just prefer to avoid that if there's a straightforward way for me to get what I have working.
Ideally, there'd just be a way to get google chrome installed in the given environment, but I've spent a good 10 hours trying to get that to happen now, and it's not looking promising.
There's a couple of solutions which would work - depending on your code and framework dependencies.
IMO - the simplest way would be to build your code in a docker container (that runs the Selenium ChromeDriver) and deploy it either through the container features on Web Apps or run it on demand through ACI (Azure container instances) and have it create the report and drop it in Azure Storage. In a container you have a lot more options - and you have a great amount of options on how to run it. Spinning up an ACI on-demand to do the job can be done in multiple ways (e.g. from Code or through logic-apps or Powershell/Azure automation).
Here are some links on running containers in your App Service:
https://learn.microsoft.com/en-us/azure/app-service/containers/
https://learn.microsoft.com/en-us/azure/app-service/containers/tutorial-custom-docker-image
You could start off by building and adding your code from this image: https://github.com/SeleniumHQ/docker-selenium
Other alternatives of course - you could have a VM that you can install and do what you want with on-demand - however - it'd add more management overhead and other implications to think about.
Many options - but in the regual Web App Sandbox - you're limited.
I have found myself this problem with chromedriver.exe needing a real Chrome. As I cannot install Chrome in Azure App Service I am trying a portable version of Chrome. When using the chrome webdriver I tell it where to find the chrome binary.
var options = new ChromeOptions();
options.AddArguments("headless"); // any options you need
options.BinaryLocation = "YOUR CHROME BINARY PATH HERE";
var driver = new ChromeDriver("YOUR CHROME DRIVER PATH HERE", options);
You should be able to copy the chrome portable files as no installation is required. Although it is heavy, 250 MB, because it includes the non portable version inside.
Be sure to use a Chrome version compatible with your ChromeDriver as pointed in the documentation
I am new in PhoneGap.
After installing PhoneGap desktop application for Windows 7, I tried to create a simple hello world application. After specifying project name, path, when I click on Create Project button, initially, it gives error as "connect ETIMEOUT 192.30.252.128:443" - This is due to the reason that I am in corporate network.
Further, if I try to disconnect from any network then I am getting "getaddrinfo enoent github.com:443" - This is due to the reason that I am not connected to any network.
Is there any way to use PhoneGap in corporate network?
I tried changing my port form 3000 to 2000 or something else, but that did not work.
Thank you
The only way to get PhoneGap Desktop to work on a corporate network is to get your IT department to either allow exceptions in the network's security policy for the PhoneGap Desktop.
At my office, we were able to get a wireless hotspot set up and configured for dev & testing with the PhoneGap Desktop App.
Here's my situation: I have two computers on my desk and I would like to use one of them to develop webpages and use another to do a live preview.
Is there an option in Brackets that I can do this? I tried to access the intranet ip address with the port number appearing in the URL when I'm doing a live preview using a local machine, but it cannot be accessed.
There is currently no remote (LAN) live preview in Brackets and there are open issues on Github for the feature request. (Here's one for example)
The livedev.multibrowser option described in the currently accepted answer opens live preview to multiple browsers on the same machine but does not allow access from anything other than localhost.
Here's a workaround that I've been using in the meantime:
Make a standard local web server (with Node/Apache/IIS/whatever) and install and run LiveReload on your dev machine for your project. On the remote machine(s) install the LiveReload browser extension, visit your site and turn on the LiveReload plugin. You don't get the instant (saveless) updates of the Brackets live preview, but the page will auto-refresh on remote machines when you save any files inside your project.
It is possible to use Live Preview on different machines that share the same local network since Release Brackets 1.1. To do this, open your preference file via Debug > Open Preferences File and insert the following directive: livedev.multibrowser: true. Note that you may have to add a trailing comma. For more information, see https://github.com/adobe/brackets/wiki/Live-Preview-Multibrowser
I am working on a simple mobile web app and I am having trouble logging in...
I followed this little sample on making a custom login: http://blog.benmcmahen.com/post/41741539120/building-a-customized-accounts-ui-for-meteor
Nothing too tricky here.
So I run my meteor server locally. On my computer, through the browser, I can log in and create accounts -- no problem.
When I go to my local IP from my iPhone, the website successfully loads but for some reason I am not able to login or create accounts.
I have noticed that for Meteor.loginWithPassword and Meteor.createUser, the callback function NEVER gets called. I have {{loggingIn}} rendering a loading screen and the loading screen is only there for a fraction of a second before the form is reloaded. No errors are thrown (validation passes and the callback function doesnt fail).
Out of suspicion, I deployed the app and tried accessing the deployed website from my phone and the same issue persists...
Any ideas what I cannot log in or create accounts on my iPhone, but I can on my computer? Maybe its a cookies thing? Any ways of solving this?
Thanks a lot,
Chet
Edit:
This works on both my desktop browser and iPhone simulator. Just not my iPhone. Could it just be a local network issue? -- No, even if I deploy the website, I have the same issues...
Also, check out my github post about recreating the issue:
https://github.com/ccorcos/meteorPasswordMobileError
Check to make sure that you are running the same version of iOS on all the devices you are testing on. I have seen iOS 7 misbehave when using Meteor apps. iOS 6 works just fine.