* app should be registered in AyanTechServers
To configure the parameters use this:
VersionControl.shared.applicationName = "MyAppName"
VersionControl.shared.categoryName = "cat"
VersionControl.shared.version = "1.0.0" //default version is CFBundleShortVersionString
VersionControl.shared.extraInfo["Token"] = "Test" //Json object and optional
And to check the latest version wherever you like just call:
VersionControl.shared.checkVersion()
It automatically shows an update dialog if there is one, and handle the actions.
Just call:
VersionControl.shared.shareAppLink()
It automatically shows the UIActivityViewController
for sharing app link or text.
ATVersionControl is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'ATVersionControl'
Sepehr Behroozi, [email protected]