Build server QR for Android doesn't work any more - suggestion for a fix.

23 views
Skip to first unread message

nickk...@gmail.com

unread,
Aug 31, 2017, 5:51:26 PM8/31/17
to CodenameOne Discussions
It looks like a recent update to Chrome on Android prevents intents from download files (or at least APKs) directly. This means that we can no longer scan the QR code on the build server to download the apk to our phones. You can download APK files if its the result of clicking a link in the browser.

A simple fix would be to point that QR code to a 'click to download apk' page similar to how iOS has an install button rather than a direct link to the .ipa.

Shai Almog

unread,
Aug 31, 2017, 11:44:23 PM8/31/17
to CodenameOne Discussions
Odd, do you have a reference link for that? I tried searching for information on this and couldn't find anything.

nickk...@gmail.com

unread,
Sep 3, 2017, 5:26:21 PM9/3/17
to CodenameOne Discussions
I don't have a reference, just from experience on a number of devices. The 3-4 that are updated to the latest versions of Android and Chrome will not lauch a download directly from an intent, the ones that still have the old version of chrome still do.

Entering the build server URL on the phone and then clicking the link does work. 

This is a recent change, within the last couple of weeks.

Shai Almog

unread,
Sep 4, 2017, 12:23:56 AM9/4/17
to CodenameOne Discussions
I'll try to reproduce it again. Please file an issue. 
In the meantime can you workaround it by using the envelope icon to email the install link?
Reply all
Reply to author
Forward
0 new messages