I've created an app that is side-loaded, and could potentially be used by many people - like, thousands of people in my company, at branches across the company. It's not an official app either, but one that will make it easier for people to do their job. And it's not going to be in the Play store because it's only for staff. So I figured the easiest way to get it updated was to have a google spreadsheet that contains the latest version number, and the link to the current version. Each time the program starts it checks the google spreadsheet and compares the version number with the hardcoded internal one. If it is different, it reads the share link of the latest version of the app that will also be in my google drive and downloads it, or at least gives the option to download it.
But how do I get the browser to go to that link? I know it's not a full browser, but I've tried passing it the share URL from within my google drive, which works when used in Chrome, and it's been set so anyone can access it who has the URL, and but it just goes to the blank screen. Does anyone have any clues how to achieve this from within the app?
Update: It's a bit slow but then it goes to the download page. However, when I select download, it then shows an app screen that says, "Google drive can't scan this file for viruses. This file is executable and may harmd your computer. (name of file and size) and then a button that says, "Download anyway". However, I can't seem toget it to download at all. I've checked and there are no other .apk files on the computer so it's not failing to download because the file already exists, the button just doesn't seem to do anything for some reason.
Thanks,
Mike