Alert when new version of iOS app is available - ios

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.

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.

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.

Related

where to write the code that does force on an iPhone user to update iOS application in his iPhone?

I need how Can I force on an iPhone user to update iOS application in his iPhone?
after searching I get the answer of this issue the fallowing link:
Can I force an iPhone user to update iOS application
But I do not have any idea where to write this code and I want to display the message that says the new version is ready at the first time the application runs before launch page.
can any help me this issue.
please help me.
I added a viewController which behave as a splash screen. In this viewController I get current application version and sent to server for validation and show alert to user if his application is not updated. If user click on update then redirect user to appStore.
For reference image is attached.
I suggest you to use This library where you can use in both Objective C and Swift. And you can use it by using CocoaPods and manually.
And it supports
A three number versioning system (e.g., 1.0.0)
Also supports two-number versioning (e.g., 1.0)
And also supports four-number versioning (e.g., 1.0.0.0)
Check the link for more features.

Windows Phone - Download link instead of store download

I am developing a Windows Phone 8.1 application, since this application is only used intern its unnecessary to upload it to the store. We'd like to share it through a download link instead.
I'd like to know if this is possible for Windows Phone applications since I didn't find anything about it.
Yes, you can publish your app with link only download from your "Distribution and visibility" section in dev center. If you select this option than people with only app link can download your app and it will be hidden in the store from global availability.
Please check this MSDN documentation for more details.

Launch an app on iOS using taps

I would like to know if it is possible to launch an app on iOS that is currently in the back group using three taps for example ? Think of it as a short cut on a desktop app.
Thanks
No!
That is not possible. There is no way to open one specific app on some combination of touches.
You can however open other apps from your app using url schemes, but something like that is not supported across the entire OS and of course not supported on the springboard. (see the apple docs)

How to make mobileconfig file on ios device

Detail: Every stuff in our company has his own calendar and a fixed subscribe url, which is known, I am working on an iOS app, which can help stuffs to install a mobileconfig file and automatically subscribe the calendar, I just don't know where to start
Here is an example of 163EMAIL: https://ssl.mail.163.com/config/mobileconfig/index
I am trying to make one exactly like this!
if all this can be done within only one iOS device will be better.
so all you have is an url of a calendar, with which I can manually subscribe by entering setting-email-add-other-subscribe
and I want to make it a mobileconfig file!
THX!
Here is a good place to start.
"Creating a Profile Server for Over-The-Air Enrollment and Configuration" is the part you should really focus on.
You can use the built-in Apple Configurator on OS X

How iOS handle URL scheme duplication?

If 2 other app register same url scheme, how iOS handle this?
The iOS Documentation reads:
Note: If more than one third-party app registers to handle the same URL scheme, there is currently no process for determining which app will be given that scheme.
The OSs behaviour is undefined if there are two apps registered for an URL scheme, therefore you should try to define a handler that is specific for your app to avoid this situation (e.g. awesomeMapsApp:// instead of maps://).
Actually it can be really problematic. For example, til' March 2016, an app called Grabb handles PayPal schemes so that if your app tries to open PayPal (with all the security nonce etc. within the call) it launches Grabb instead, and you can do nothing about it. Even with the openURL alertView added in iOS 9, it can still be a big security issue.
Here is what I have tested:
iOS 5: the first installed app will be chosen. If you delete first installed app, then the others will not launch unless you install again.
iOS 6: the lastest installed app will be chosen. If you delete the lastest installed app, then the previous installed app will be chosen.
It will present an UIActionSheet view allowing the user to choose which app to launch (good example are apps that handle .doc files). That's where the icon you specify is used - on the action sheet buttons when it's shown to the user

Resources