agamemnus / cordova-plugin-xapkreader

Easily access Google Play APK expansion file data.
32 stars 55 forks source link

Download dialog shouldn't be always invoked #106

Open camilacanhete opened 6 years ago

camilacanhete commented 6 years ago

From Google documentation..

The download process from a high level looks like this: User selects to install your app from Google Play.

So when Google are able to download the expansion file (which seems to be totally random because i got both cases on the same build and device), the download dialog should never appear.

On a Moto C (Android 7.0) the download dialog appears and get stuck to -0.00MB. Then my app continues to run normally but in the upper bar the download is still there (stuck). Perhaps this is something similar to #94.

Screenshot attached. screenshot_20170804-120734

agamemnus commented 6 years ago

It shouldn't be invoked if the download is successful. Yes, I think it might be a problem with rounding actually... I don't know. Check that progress code...

agamemnus commented 6 years ago

Maybe related to https://github.com/agamemnus/cordova-plugin-xapkreader/issues/94.

dermatthias commented 6 years ago

I have the same problem as mentioned above, the dialog pops up and does not disappear.

The obb was fully loaded while installing the app in the Google Play store.