Releases: Appboy/appboy-ios-sdk
2.25.0
Added:
- Adds the ability to set the
ABKInAppMessageControllerDelegate
when the SDK starts by passing a delegate object to theABKInAppMessageControllerDelegateKey
in theappboyOptions
ofstartWithApiKey:inApplication:withAppboyOptions:
.- This is the recommended way to set the
ABKInAppMessageControllerDelegate
and circumvents a potential race condition where in-app messages can be shown before the delegate has been set.
- This is the recommended way to set the
- Exposes the ABKFeedback object and adds a new method
- (void)submitFeedback:(ABKFeedback *)feedback withCompletionHandler:(nullable void (^)(ABKFeedbackSentResult feedbackSentResult))completionHandler;
inAppboy
. The new method accepts a completion handler which receives an ABKFeedbackSentResult enum as feedback sending result.- The possible feedback sending results are: invalid feedback object(ABKInvalidFeedback), fail to send feedback(ABKNetworkIssue), and feedback sent successfully(ABKFeedbackSentSuccessfully).
- Adds the utility method
- (BOOL)userNotificationWasSentFromAppboy:(UNNotificationResponse *)response;
toAppboy
. This method is compatible with theUserNotifications
framework and returns whether a push notification was sent from Appboy's server.- Those using
- (BOOL)pushNotificationWasSentFromAppboy:(NSDictionary *)options;
who have integrated theUserNotifications
framework should use this method instead.
- Those using
Fixed:
- Changes the ABKInAppMessageButton from a
UIButton
object to a pure data model class inNSObject
.- This resolves the issue #97.
Changed:
- Adds more protection around triggered in-app message display.
2.24.5
Fixed:
- Fixes an issue where in-app messages triggered off of push clicks wouldn't fire when the push click happened before the in-app message configuration was synced to the device.
Changed:
- Updates push registration to flush the token to the server immediately.
- Improves the accessibility of in-app messages and news feed cards.
- When in voiceOver mode, the SDK auto-focuses on in-app messages when they appear and resets focus on dismissal.
- VoiceOver no longer reads Appboy internal labels.
- News feed cards are enhanced to be more accessible.
2.24.4
2.24.3
Update REQUIRED for apps using Appboy SDK 2.24.0, 2.24.1 or 2.24.2 with UserNotifications.framework
-
Fixes an issue where a user's foreground push enabled status could erroneously be marked as disabled. This issue can occur when opening the app from suspended mode. At that time, the foreground push enabled status was defaulted to disabled until the UserNotifications.framework returned the user's push authorization status. If the user closed the app within a few seconds, the SDK would not flush the updated push status and the user would mistakenly be marked as "push disabled".
This issue only affected apps using UserNotifications.framework to register for push notifications.
The updated code stores the push authorization status on disk to fix the issue. -
Fixes an issue where triggered in-app messages with event property templating did not respect re-eligibility settings.
-
Updates the Podspecs for iOS and tvOS SDK.
-
Updates deprecation warnings to specify iOS version.
-
Updates the ABKFeedController with more generic nullability.
-
Disables all data detectors on HTML in-app messages. Phone numbers, web URLs, addresses and calendar events will no longer be automatically converted.
-
Disables scrolling bounces on HTML in-app messages.
2.24.2
2.24.1
2.24.0
BREAKING CHANGE - UPDATE REQUIRED
- Updates the SDK to requres XCode 8.
- iOS 10 changes behavior of
application:didReceiveRemoteNotification:fetchCompletionHandler
and subsequently breaks open tracking and deep link handling on most existing Appboy iOS integrations. Please see our updated documentation here; if you don't currently implementapplication:didReceiveRemoteNotification:
you need to modify your integration, and we reccomend that all users update. - Updates the iOS and tvOS SDKs to support iOS 10.
- Adds a new method
- (void)userNotificationCenter:(UNUserNotificationCenter *)center didReceiveNotificationResponse:(UNNotificationResponse *)response withCompletionHandler:(void (^)())completionHandler
. This method supports the new delegate method for push notification handling inUserNotification
framework. - Deprecates two push delegate methods:
- (void)registerApplication:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)notification
and
- (void)getActionWithIdentifier:(NSString *)identifier forRemoteNotification:(NSDictionary *)userInfo completionHandler:(nullable void (^)())completionHandler
.
2.23.0
- Removes the deprecated method
logSocialShare
from Appboy class. - Adds support for upgraded in-app messages including image-only messages, improved image sizing/cropping, text scrolling, text alignment, configurable orientation, and configurable frame color.
- Adds support for in-app messages triggered on custom event properties, purchase properties, and in-app message clicks.
- Adds support for templating event properties within in-app messages.