Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to notify a user when new updates / version is released on the App Store? [closed]

When my iPhone application start, I want to notify the user if there is a new updates / version released on App store.

Does anybody have any ideas or has anybody else achieved anything similar?

Thanks

like image 719
GURU Avatar asked Feb 01 '12 07:02

GURU


People also ask

How do I notify people of an app update?

Google Play will notify your users that the app has an update via the notification bar. If you set up a notification system yourself, the likely result would be that, although the user is notified of an update sooner, when he/she goes to Google Play to install the update it will not yet be available.

How do I turn on server notifications for App Store?

To receive server notifications from the App Store, provide your secure server's HTTPS URL in App Store Connect. For more information, see Enabling App Store Server Notifications. To secure your server and receive notifications, your server must support the Transport Layer Security (TLS) protocol version 1.2 or later.

What is S2S notification?

The system-to-system service (S2S) is available to support industry who wish to prepare and submit a poison centre notification (PCN) dossier in a more automated way.

How do I turn on automatic updates for Apple App Store?

How to turn on or turn off automatic updates on your iPhone or iPad. Go to Settings. Tap App Store. Turn on or turn off App Updates.


2 Answers

Use Nick Lockwood's iVersion library. It's whole purpose is to notify the user when new updates are available.

iVersion is a library for dynamically checking for updates to Mac/iPhone App Store apps from within the application and notifying users about the new release. It can also notify users about new features in the app the first time they launch after an upgrade.

Purpose:

The Mac and iOS App Store update mechanism is somewhat cumbersome and disconnected from the apps themselves. Users often fail to notice when new versions of an app are released, and if they do notice, the App Store's "download all" option means that users often won't see the release notes for the new versions of each of their apps.

Whilst it is not permitted to update an App Store app from within the app itself, there is no reason why an app should not inform the user that the new release is ready, and direct them to the App Store to download the update.

And if your app is not on the App Store, either because it's an in-house/enterprise iOS app, or a Mac app delivered to customers outside of the store, you can't use the App Store update mechanism anyway.

iVersion is a simple, zero-config class to allow iPhone and Mac App Store apps to automatically check for updates and inform the user about new features.

iVersion automatically detects when the new version of an app is released on the App Store and informs the user with a helpful alert that links them directly to the app download page.

Or if your app is not on the store, iVersion lets you specify a remote plist file to check for new releases, and a download URL where users can get the latest release.

iVersion has an additional function, which is to tell users about important new features when they first run an app after downloading a new version.

These excerpts were taken from the Github page here, where you can download it. There is also a comprehensive tutorial on installing and configuring iVersion, so I recommend that you check it out.

Hope this helps!

like image 171
pasawaya Avatar answered Oct 12 '22 14:10

pasawaya


To give a comprehensive answer. There are basically two ways you can go here. Depends on where you want to put the responsibility.

App checks for new versions on server

Using this approach, you would add a method to your app that is being called on every launch to compare the current version of the app (wherever you want to save that) with the version stored on the server. To achieve this, the server must implement a small web service that returns the latest version as a string or something else very simple. No rocket science there.

Server pushes new version information to app

This way you implement more code on the server-side to do a Push Notification to your app which informs the app about the new version. Advantage here is: Less client-side code and less effort to check, because the version check does not happen every time the app is started but instead only once the new version is actually released.

like image 43
Sebastian Wramba Avatar answered Oct 12 '22 14:10

Sebastian Wramba