Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download Bar doesn't fill up for when downloading APK #131

Open
jamesta696 opened this issue Apr 16, 2019 · 4 comments
Open

Download Bar doesn't fill up for when downloading APK #131

jamesta696 opened this issue Apr 16, 2019 · 4 comments

Comments

@jamesta696
Copy link

Progress Bar doesn't update itself in % or fill up when downloading APK
Any fix for this?

Cordova & Android Versions

Cordova Version: 8.1.2 ([email protected])
Android Platform Version: android 7.1.4

Plugin Versions

cordova-plugin-app-update 2.0.2 "AppUpdate"
cordova-plugin-appversion 1.0.0 "App Version"

@Nashorn
Copy link

Nashorn commented Aug 13, 2019

any update on this?

@kunajs
Copy link

kunajs commented May 27, 2020

for me the same using android 8.1.0

@daflip
Copy link

daflip commented Jan 19, 2021

i had this problem (android 10) .. this plugin downloads the apk to storage on the phone using <app_id>.apk e.g. com.yourapp.appname.apk .. in my case it was downloading OK (i could see it downloaded OK on the server) the progress bar would not increment and it appeared to hang. Internally i could see via adb logcat that it was getting a permission denied error on /storage/emulated/0/download/com.yourapp.appname.apk .. i deleted this file from the downloads and it worked properly after that every time. It seems like really this application should be choosing a unique filename each time it downloads at least I know what the fix is now anyway :)

JEreth added a commit to Pragmatic-Apps/cordova-plugin-app-update that referenced this issue Dec 7, 2022
@JEreth
Copy link

JEreth commented Dec 7, 2022

@daflip we implemented a version that adds the timestamp in the filename to prevent the described issue. Thx for pointing that out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants