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.98k stars 412 forks source link

Not Configured #52

Closed abumoallim closed 7 years ago

abumoallim commented 8 years ago

Cannot retrieve latest version. Is it configured properly?

javiersantos commented 8 years ago

Could you paste the URL of your app in the market and the constructor that you are using in your code?

In addition, is the library displaying an error message in the console?

abumoallim commented 7 years ago

Url of my App https://play.google.com/store/apps/details?id=com.awqatesalah.awqaat_e_salaah&hl=en

i am using: new AppUpdater(MainActivity.this).setUpdateFrom(UpdateFrom.GOOGLE_PLAY).showEvery(5).start();

i am using it on MainActivity after toolbar on OnCreate: getWindow().requestFeature(Window.FEATURE_ACTION_BAR_OVERLAY); setContentView(R.layout.activity_main); toolbar = (Toolbar) findViewById(R.id.toolbar); setSupportActionBar(toolbar); getSupportActionBar().setTitle("Awqat-e-Salah"); new AppUpdater(MainActivity.this).setUpdateFrom(UpdateFrom.GOOGLE_PLAY).showEvery(5).start();

No message in console

javiersantos commented 7 years ago

Your app may be using updates that varies by devices. Browse to the web version of the Play Store and see if the version details are displayed properly.

If not please use another source. I recommend to use JSON or XML where you will be able to configure the versionCode too.