cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jcesarmobile (JIRA)" <>
Subject [jira] [Closed] (CB-12567) Can not download an .apk from a URL and install in one process
Date Mon, 13 Mar 2017 23:12:41 GMT


jcesarmobile closed CB-12567.
    Resolution: Not A Problem
      Assignee: jcesarmobile

This is not a problem, the file transfer plugin is to upload/download files internal to the
app, it doesn't know what the file is and what to do with it after it's downloaded, that's
up to the developer.

If you want to download and install an .apk, you can probably use another plugin that download
files using the native download mechanism. I think it exists, but if doesn't, you can create
it with the code you used on your other app

> Can not download an .apk from a URL and install in one process
> --------------------------------------------------------------
>                 Key: CB-12567
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File, Plugin File Transfer
>         Environment: Android >= 4.4.2, also assuming iOS, but not verified
>            Reporter: Kyle Slack
>            Assignee: jcesarmobile
>            Priority: Critical
>              Labels: features
>   Original Estimate: 24h
>  Remaining Estimate: 24h
> Using your documentation and online examples we can not properly download an .apk file
from our own servers on device, once this file is downloaded we would then want to have the
system handle opening and starting the installation process. We were hoping to have this handled
all in one simple button click in the settings as a sort of Check for and Apply updates if
a newer version of the app is pushed out. We are handling this in the original version of
this application via native code for Android and would like to replicate the functionality
in this newer HTML 5 / Phonegap build. All attempts thus far have failed. I have also read
about ways to make an OTA update part of the iOS build as well with our Apple Enterprise License
however we have not attempted this yet as our attempts with Android and the .apk has failed
thus far.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message