Integrating Updraft iOS SDK
Updraft iOS Open Source SDK is a Framework to support getupdraft.com mobile app distribution for iOS Apps. The SDK includes a graphical feedback & bug reporter and automatic app updating features.
Last updated
Updraft iOS Open Source SDK is a Framework to support getupdraft.com mobile app distribution for iOS Apps. The SDK includes a graphical feedback & bug reporter and automatic app updating features.
Last updated
iOS 10.0+
Xcode 9.0+
Swift 4.0+
Get CocoaPods and specify UpdraftSDK in your Podfile:
Then, run:
Get Carthage and specify Updraft in your Cartfile:
Then, run:
In your application targets “General” tab under the “Linked Frameworks and Libraries” section, drag and drop Updraft.framework from the Carthage/Build/iOS directory that carthage update produced.
Import Updraft module in AppDelegate:
Start the SDK with your "SDK Key" and "App Key":
Import Updraft module in AppDelegate
Start the SDK with your "SDK Key" and "App Key":
Parameters
Auto Update functionality can be enabled/disabled on getupdraft.com in your app edit menu.
AutoUpdate work by comparing the build number of the app installed on the user's device and the app uploaded on GetUpdraft.
A prompt is displayed to the user if his installed version is lower than the version on Updraft. Thus, the build number must be incremented for each new build release to trigger the auto-update process.
Micro version comparison is supported, for example version 1.2.3.20180804 is greater than version 1.2.3.20180803
Feedback functionality can be enabled/disabled on getupdraft.com in your app edit menu.
A prompt is shown to the user to inform him of the change of state of the feedback functionality.
If enabled, the user is explained how he can give feedback. User can take a screenshot to give a feedback.
To check if data is send properly to Updraft and also see some additional SDK log data in the console, you can set different log levels.
To change the log level, add the following line before starting the SDK:
Swift
Objective-C
Default level: warning => Only warnings and errors will be printed.
If you have your own instance of Updraft, set this property to the base URL of your instance, before starting the SDK.
Swift
Objective-C
Default https://getupdraft.com/