waleedAhmad1 / google-glass-api

Automatically exported from code.google.com/p/google-glass-api
0 stars 0 forks source link

Browser does not support redirect after short URL resolved #587

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Define a URL scheme for your GDK-based app (let's call it ABC://)
2. Encode a URL calling referring to your app with a short URL service such as 
goo.gl (e.g.: ABC://hello/world becomes http://goo.gl/12345
3. Encode short URL behind a QR code and scan it with Glass 

What is the expected output? What do you see instead?

Expected output: Glass open short URL in browser (OK), resolves to long URL 
(OK) and calls the app
What do I see: Webpage not available with an error referencing ABC://hello/world

What version of the product are you using? On what operating system?

XE19.2

Please provide any additional information below.

We use this mechanism to provide a device-agnostic approach when it comes to QR 
coding. The backend will return a different result based on what device 
initiated the call. 

Original issue reported on code.google.com by gwind...@gmail.com on 7 Aug 2014 at 6:09

GoogleCodeExporter commented 9 years ago
As an update on XE22, this is what I am seeing now, it looks like an error code 
is being thrown now: net::ERR_UNKNOWN_URL_SCHEME. 

Note that when scanning a QR code that embed the URL scheme directly, there is 
no issue. 

Original comment by gwind...@gmail.com on 30 Oct 2014 at 7:38

Attachments: