larryaasen / upgrader

A Flutter package for prompting users to upgrade when there is a newer version of the app in the store.
MIT License
547 stars 268 forks source link

Its possible to use it without appstore or playstore? #251

Closed geekz-reno closed 5 months ago

geekz-reno commented 1 year ago

Hi, its possible to use it without any store app or play store? i mean if i host my own ipa or apk to my private server?

jaasaria commented 1 year ago

same question. also during development and don't yet have the store versions.

ulisseshen commented 1 year ago

You will need to configure the appcast for your app.

See https://github.com/larryaasen/upgrader#appcast-example https://github.com/larryaasen/upgrader#appcast-sample-file

pankaj-nikam commented 10 months ago

It's still not clear to me how to create XML for just apk file. Can you please share a sample?

larryaasen commented 5 months ago

@geekz-reno There is a good example that shows how to use the UpgraderStoreController to configure how each platform utilizes a store. You can create a class similar to UpgraderAppcastStore and use it with UpgraderStoreController. https://github.com/larryaasen/upgrader/blob/master/example/lib/main_appcast.dart

geekz-reno commented 5 months ago

thank you @larryaasen , I will try it. I'll close for now.