cordova-plugin-app-update
cordova-plugin-app-update copied to clipboard
Download Bar doesn't fill up for when downloading APK
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"
any update on this?
for me the same using android 8.1.0
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 :)
@daflip we implemented a version that adds the timestamp in the filename to prevent the described issue. Thx for pointing that out.