javiersantos / AppUpdater

A library that checks for your apps' updates on Google Play, GitHub, Amazon, F-Droid or your own server. API 9+ required.
Apache License 2.0
1.99k stars 413 forks source link

LibraryListener object not null in PreExecute but null in PostExecute - listener not called #69

Closed pirocso closed 7 years ago

pirocso commented 7 years ago

LibraryListener listener = (LibraryListener)this.listenerRef.get()

The above line in the LatestAppVersion::PreExecute method works fine and returns the LibraryListener created in AppUpdater::start but returns null in LatestAppVersion::PostExecute

Running on 2nd gen Moto E with Android 6.0

I am calling AppUpdater in my main activity's onCreate with new AppUpdater(this).start();

mememto commented 7 years ago

same problem for me :/

pratikpopat commented 7 years ago

Tested with Genymotion emulator. Same problem :(

javiersantos commented 7 years ago

https://github.com/javiersantos/AppUpdater/releases/tag/2.5.4