Security

Reply
Occasional Contributor II

Android URL scheme error when opening play store link

Greetings,

 

We're in the proces of implementing onboard in our organisation and had several complaints about the quick connect app store link not working.

 

The cases we've reviewed all show that as soon as the user clicks the link for the Quick connect app they get a built-in browser telling them:

ERR_UNKNOWN_URL_SCHEME

market://details?id=com.arubanetworks.quickconnect.android

 

The workaround is to force the handset to use the network regardless, fire up chrome and complete the onboard process there. This is unintuitive and is generating more service tickets instead of less.

 

I've read some online forums and to me it looks like a fix is available by using webview with an intent instead of the custom URL scheme market://. 

Link: https://stackoverflow.com/questions/35442592/android-custom-url-scheme-refuses-to-work-how-to-navigate-back-to-android-app 

 

Any chance Aruba Networks will implement this to make our lives easier? Even better, can I change something in our current installation to make it work?

Guru Elite

Re: Android URL scheme error when opening play store link

You need to bypass the captive portal browser on all platforms (Android, iOS, Mac) as they do not support lauching external applications or profile downloads. Unfortunately there's nothing we can. This is an industry-wide problem that the device manufacturers seamingly refuse to address.

 

Use the whitelist here to bypass the captive portal browser and allow access to the Google Play store: https://github.com/aruba/clearpass-cloud-service-whitelists/blob/master/onboard/onboard_android.md


Tim Cappalli | Aruba Security TME
@timcappalli | timcappalli.me | ACMX #367 / ACCX #480
Occasional Contributor II

Re: Android URL scheme error when opening play store link

Tim,

 

Brilliant, I didn't think about whitelisting the connectivitychecks. Going to test it with our users.

 

Thanks a lot!

Occasional Contributor II

Re: Android URL scheme error when opening play store link

Tim,

 

The original issue is resolved using the captive portal checker bypass. The downside is that most of our users do not make extensive use of the browser and or don't realise the lack of connectivity is because they aren't onboarded yet.

 

We will instruct them to use their browser to log on in the meantime but I can't help but wonder if the other format provided by Google would solve our issue. Google even suggest to use http over a straight market URL.. My bad, they suggest the opposite, but it's worth a try?

 

"In general, you should use http:// format for links on web pages and market:// for links in Android apps."

 

Link: https://developer.android.com/distribute/marketing-tools/linking-to-google-play.html#android-app 

 

Intent intent = new Intent(Intent.ACTION_VIEW);
intent
.setData(Uri.parse("http://details?id=com.arubanetworks.quickconnect.android"));
startActivity
(intent);

 

 

 

Guru Elite

Re: Android URL scheme error when opening play store link

No. Bypassing the captive portal browser on iOS, macOS and Android is the only option.

Tim Cappalli | Aruba Security TME
@timcappalli | timcappalli.me | ACMX #367 / ACCX #480
Occasional Contributor II

Re: Android URL scheme error when opening play store link

Sounds like you've done your research. Could you shed a bit of light on the reasons why using http:// is not an option for Android?

Guru Elite

Re: Android URL scheme error when opening play store link

It has nothing to do with the protocol. Captive portal browsers do not allow external launching or profile downloads. Both of which are required for onboarding.

Tim Cappalli | Aruba Security TME
@timcappalli | timcappalli.me | ACMX #367 / ACCX #480
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: