how do you link directly to app store app update page?

我的梦境 提交于 2019-12-18 10:46:26

问题


I'm finishing up an iPhone app. I'm using an external server to inform users of when an update is available for my app and allowing them to click from within the app to go straight to the update on the app store. Problem is, I can't seem to figure out the link format to go directly to the update. I've found an old method of using viewsoftwareUpdate (mentioned in another post here) but it's all related to outdated phobos links and I can't seem to get it working for me. I'm currently using the simple format to link directly to the app: itms-apps://itunes.com/apps/"appname", and I assume there is a way to alter this format to get to the app update instead of the main app page?

This seems like a pretty basic functionality so I'm surprised I can't find anything on it.

Also, does anybody know how to link directly to the users own update tab in the app store? Not specific to one app, but the update tab that shows all the updates they have available for download.


回答1:


Turns out the phobos links do still work and you can link directly to the update page using this URL format:

itms-apps://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftwareUpdate?id=[APPID]&mt=8

Of course replacing the [APPID] with your own app id, not including the brackets. This will link directly to the latest update for the app, instead of the main app page.

[Note: the solution was posted in with the question, I just moved it here --progrmr]




回答2:


Just link to your app in the app store, that link will never change.

The page will show the updates right above the screenshots.

Your best bet is to strip the update information from your apps page using JSON, or some XML parser.

As for the list of all updates, again, Apple compares versions of the installed apps and lists them accordingly, stripping out only the update information.




回答3:


The phobos link did not work for me so I used the following link and it works great:

itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftwareUpdate?id=[APPID]&mt=8


来源:https://stackoverflow.com/questions/4904207/how-do-you-link-directly-to-app-store-app-update-page

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!