diff --git a/AirshipKit/AirshipConfig.xcconfig b/AirshipKit/AirshipConfig.xcconfig index c06aed71a..ffda26131 100644 --- a/AirshipKit/AirshipConfig.xcconfig +++ b/AirshipKit/AirshipConfig.xcconfig @@ -22,7 +22,7 @@ // OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF // ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // -CURRENT_PROJECT_VERSION = 8.2.2 +CURRENT_PROJECT_VERSION = 8.3.0 // Uncomment to include the preview build warning // OTHER_CFLAGS = $(inherited) -DUA_PREVIEW=1 diff --git a/AirshipKit/AirshipKit/UAirshipVersion.m b/AirshipKit/AirshipKit/UAirshipVersion.m index c82b80e26..a606d1af2 100644 --- a/AirshipKit/AirshipKit/UAirshipVersion.m +++ b/AirshipKit/AirshipKit/UAirshipVersion.m @@ -2,7 +2,7 @@ #import "UAirshipVersion.h" -NSString *const versionString = @"8.2.2"; +NSString *const versionString = @"8.3.0"; @implementation UAirshipVersion diff --git a/CHANGELOG b/CHANGELOG index 0f648b895..e8e03c0ea 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -3,15 +3,29 @@ iOS Changelog Migration Guides: Documentation/Migration -Version 8.3.0 - ????? ??, 2017 -============================== +Version 8.3.0 - May 2, 2017 +=========================== New Features ------------ -- Added support for WKWebView +- Added support for WKWebView. Enable in AirshipConfig.plist using useWKWebView + flag. Disabled by default. +- Deprecated support for UIWebView. +- Added support for delayed automation action schedules. The execution of an + automated schedule can now be delayed by up to 30 seconds or made contingent +- Added EnableFeatureAction that can enable background location, location, or user + notifications. +- Added an automation trigger for app init events. +- Added new UARegistrationDelegate methods apnsRegistrationSucceededWithDeviceToken: + and apnsRegistrationFailedWithError:. + +Bug Fixes +--------- +- Fixed compatibility issue with Firebase. +- Fixed duplicate analytic uploads on iOS 8. Other ----- -- Migration guides moved to this repository +- iOS migration guides moved to this repository. Version 8.2.2 - April 4, 2017 ============================== diff --git a/Documentation/Migration/Migration Guide.md b/Documentation/Migration/Migration Guide.md index c01cc5be5..9994c8c11 100644 --- a/Documentation/Migration/Migration Guide.md +++ b/Documentation/Migration/Migration Guide.md @@ -15,6 +15,24 @@ WKWebView | UIWebView Fully styled content, such as that contained in messages created in the [Rich Content Editor](https://docs.urbanairship.com/engage/rich-content-editor/) of the Message Composer, will render identically using either type of web view. +## Application Integration + +A new application integration point has been added to [UAAppIntegration](https://docs.urbanairship.com/reference/libraries/ios/latest/Classes.html#/c:objc(cs)UAAppIntegration). +If your application disables automatic integration, it will need to be updated to call +the new method: + +### UIApplicationDelegate method: + +#### Swift +```swift +func application(application: UIApplication, didFailToRegisterForRemoteNotificationsWithError error: Error) +``` + +#### Objective-C +```objective-c ++ (void)application:(UIApplication *)application didFailToRegisterForRemoteNotificationsWithError:(NSError *)error; +``` + # Urban Airship Library 7.3.0 to 8.0.0 This version supports iOS 8, 9 and 10. Xcode 8 is required. @@ -22,11 +40,12 @@ This version supports iOS 8, 9 and 10. Xcode 8 is required. ## Application Integration All application integration points have been moved to [UAAppIntegration](https://docs.urbanairship.com/reference/libraries/ios/latest/Classes.html#/c:objc(cs)UAAppIntegration). -If your application disabled automatic integration, it will need to be updated to call +If your application disables automatic integration, it will need to be updated to call the new methods: -UIApplicationDelegate methods: +### UIApplicationDelegate methods: +#### Swift ```swift func application(application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: NSData) @@ -39,6 +58,7 @@ func application(application: UIApplication, handleActionWithIdentifier identifi func application(application: UIApplication, handleActionWithIdentifier identifier: String?, forRemoteNotification userInfo: [NSObject : AnyObject], withResponseInfo responseInfo: [NSObject : AnyObject], completionHandler: () -> Void) ``` +#### Objective-C ```objective-c + (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken; @@ -51,14 +71,16 @@ func application(application: UIApplication, handleActionWithIdentifier identifi + (void)application:(UIApplication *)application handleActionWithIdentifier:(NSString *)identifier forRemoteNotification:(NSDictionary *)userInfo withResponseInfo:(nullable NSDictionary *)responseInfo completionHandler:(void (^)())handler; ``` -UNUserNotificationDelegate methods: +### UNUserNotificationDelegate methods: +#### Swift ```swift func userNotificationCenter(center: UNUserNotificationCenter, didReceiveNotificationResponse response: UNNotificationResponse, withCompletionHandler completionHandler: () -> Void) func userNotificationCenter(center: UNUserNotificationCenter, willPresentNotification notification: UNNotification, withCompletionHandler completionHandler: (_ options: UNNotificationPresentationOptions) -> Void) ``` +#### Objective-C ```objective-c + (void)userNotificationCenter:(UNUserNotificationCenter *)center didReceiveNotificationResponse:(UNNotificationResponse *)response diff --git a/UrbanAirship-iOS-AppExtensions.podspec b/UrbanAirship-iOS-AppExtensions.podspec index 2a223bae2..d1fd9344f 100644 --- a/UrbanAirship-iOS-AppExtensions.podspec +++ b/UrbanAirship-iOS-AppExtensions.podspec @@ -1,5 +1,5 @@ Pod::Spec.new do |s| - s.version = "8.2.2" + s.version = "8.3.0" s.name = "UrbanAirship-iOS-AppExtensions" s.summary = "Urban Airship iOS App Extensions" diff --git a/UrbanAirship-iOS-SDK.podspec b/UrbanAirship-iOS-SDK.podspec index 2a1024cce..e595d7e0e 100644 --- a/UrbanAirship-iOS-SDK.podspec +++ b/UrbanAirship-iOS-SDK.podspec @@ -1,5 +1,5 @@ Pod::Spec.new do |s| - s.version = "8.2.2" + s.version = "8.3.0" s.name = "UrbanAirship-iOS-SDK" s.summary = "Urban Airship iOS SDK"