Is there an open source library out there for presenting an in-app alert when a new version is available to download? Push notification would be a plus also.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
iVersion sounds like the exact thing you are looking for. It works similar to Sparkle on Mac OSX where it consults a remote file on your website where you can bump the version number once Apple approves your app and shows a prompt to the user if their version is lower than the one specified on your server.
回答2:
Here's another one https://github.com/jacobsologub/appdate, it just calls Apple's search API to check if a given app "you app" has an update.