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

When Google Play is not a default App Store in Android #26

Closed ahpiau18 closed 8 years ago

ahpiau18 commented 8 years ago

Having an issue, if user is using some "china-made" android phone, and Google Play is not the default App Store in the phone.

It will be great, if AppUpdater allow user to pass the apps URL into the "AppUpdaterUtils"

Thanks.

pylerSM commented 8 years ago

You can specify what to check

new AppUpdater(this)
    .setUpdateFrom(UpdateFrom.GITHUB)
    .setUpdateFrom(UpdateFrom.GOOGLE_PLAY)
    ...
javiersantos commented 8 years ago

Please note that the library supports other App Stores, such as GitHub, Aptoide, Amazon and F-Droid.

If your app is not available on the App Stores listed above you should use a custom XML file hosted in a server. A guide to implement a custom XML is available on the wiki.