diff --git a/CHANGELOG.md b/CHANGELOG.md index d75819e..a785fd0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,18 @@ +## 1.10.0 +- Updated the native iOS bridge to [Braze iOS SDK 3.20.0](https://github.com/Appboy/appboy-ios-sdk/releases/tag/3.20.0). +- **Important:** Braze iOS SDK 3.20.0 contains updated push token registration methods. We recommend upgrading to these methods as soon as possible to ensure a smooth transition as devices upgrade to iOS 13. In `application.RegisteredForRemoteNotifications:`, replace +``` +Appboy.SharedInstance?.RegisterPushToken(deviceToken.ToString()); +``` +with +``` +Appboy.SharedInstance?.RegisterDeviceToken(deviceToken); +``` ## 1.9.0 + +##### Breaking - Updated the Android binding to use [Braze Android SDK 3.7.0](https://github.com/Appboy/appboy-android-sdk/blob/master/CHANGELOG.md#370). -- Updated the native iOS bridge to [Braze iOS SDK 3.19.0](https://github.com/Appboy/appboy-ios-sdk/releases/tag/3.14.0). +- Updated the native iOS bridge to [Braze iOS SDK 3.19.0](https://github.com/Appboy/appboy-ios-sdk/releases/tag/3.19.0). - Note: This Braze Xamarin SDK release updates to Braze Android SDK and Braze iOS SDK dependencies which no longer enable automatic Braze location collection by default. Please consult their respective changelogs for information on how to continue to enable automatic Braze location collection, as well as further information on breaking changes. - Removes the Feedback feature as well as all associated methods, classes, and interfaces. diff --git a/appboy-component/lib/ios-unified/AppboyPlatformXamariniOSBinding.dll b/appboy-component/lib/ios-unified/AppboyPlatformXamariniOSBinding.dll index 25348ed..96c2c6e 100644 Binary files a/appboy-component/lib/ios-unified/AppboyPlatformXamariniOSBinding.dll and b/appboy-component/lib/ios-unified/AppboyPlatformXamariniOSBinding.dll differ diff --git a/appboy-component/lib/ios-unified/AppboyPlatformXamariniOSBinding.pdb b/appboy-component/lib/ios-unified/AppboyPlatformXamariniOSBinding.pdb index 8b48178..d354d2f 100644 Binary files a/appboy-component/lib/ios-unified/AppboyPlatformXamariniOSBinding.pdb and b/appboy-component/lib/ios-unified/AppboyPlatformXamariniOSBinding.pdb differ diff --git a/appboy-component/nuget/AppboyPlatform.AndroidBinding.nuspec b/appboy-component/nuget/AppboyPlatform.AndroidBinding.nuspec index da4d6e6..e11bac2 100644 --- a/appboy-component/nuget/AppboyPlatform.AndroidBinding.nuspec +++ b/appboy-component/nuget/AppboyPlatform.AndroidBinding.nuspec @@ -2,7 +2,7 @@ AppboyPlatform.AndroidBinding - 1.9.0 + 1.10.0 Braze, Inc. Braze, Inc. https://github.com/Appboy/appboy-xamarin-bindings/blob/master/LICENSE diff --git a/appboy-component/nuget/AppboyPlatformXamariniOSBinding.nuspec b/appboy-component/nuget/AppboyPlatformXamariniOSBinding.nuspec index 1cc7cc2..a04f605 100644 --- a/appboy-component/nuget/AppboyPlatformXamariniOSBinding.nuspec +++ b/appboy-component/nuget/AppboyPlatformXamariniOSBinding.nuspec @@ -2,7 +2,7 @@ AppboyPlatformXamariniOSBinding - 1.9.0 + 1.10.0 Braze Braze https://github.com/Appboy/appboy-xamarin-bindings/blob/master/LICENSE diff --git a/appboy-component/samples/ios-unified/TestApp.XamariniOS/AppDelegate.cs b/appboy-component/samples/ios-unified/TestApp.XamariniOS/AppDelegate.cs index b63dce3..80176b2 100644 --- a/appboy-component/samples/ios-unified/TestApp.XamariniOS/AppDelegate.cs +++ b/appboy-component/samples/ios-unified/TestApp.XamariniOS/AppDelegate.cs @@ -75,7 +75,7 @@ public override bool FinishedLaunching(UIApplication app, NSDictionary options) public override void RegisteredForRemoteNotifications(UIApplication application, NSData deviceToken) { Console.WriteLine("Registered For Remote Notifications"); - Appboy.SharedInstance?.RegisterPushToken(deviceToken.ToString()); + Appboy.SharedInstance?.RegisterDeviceToken(deviceToken); } private class UserNotificationsDelegate : UNUserNotificationCenterDelegate @@ -87,4 +87,3 @@ public override void DidReceiveNotificationResponse(UNUserNotificationCenter cen } } } - diff --git a/appboy-component/src/ios-unified/ApiDefinition.cs b/appboy-component/src/ios-unified/ApiDefinition.cs index c12640f..605ae18 100644 --- a/appboy-component/src/ios-unified/ApiDefinition.cs +++ b/appboy-component/src/ios-unified/ApiDefinition.cs @@ -711,9 +711,9 @@ interface Appboy [Export("pushNotificationWasSentFromAppboy:")] bool PushNotificationWasSentFromAppboy(NSDictionary options); - // -(void)registerPushToken:(NSString * _Nonnull)token; - [Export("registerPushToken:")] - void RegisterPushToken(string token); + // -(void)registerDeviceToken:(NSData * _Nonnull)deviceToken; + [Export("registerDeviceToken:")] + void RegisterDeviceToken(NSData deviceToken); // -(void)registerApplication:(UIApplication * _Nonnull)application didReceiveRemoteNotification:(NSDictionary * _Nonnull)notification __attribute__((availability(ios, introduced=3_0, deprecated=10_0))); [Introduced(PlatformName.iOS, 3, 0, message: "`registerApplication:didReceiveRemoteNotification:` is deprecated in iOS 10, please use `registerApplication:didReceiveRemoteNotification:fetchCompletionHandler:` instead.")] diff --git a/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKContentCardsStoryboard.storyboardc/ABKContentCardsTableViewController.nib/objects-11.0+.nib b/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKContentCardsStoryboard.storyboardc/ABKContentCardsTableViewController.nib/objects-11.0+.nib index 4c29185..a67213d 100644 Binary files a/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKContentCardsStoryboard.storyboardc/ABKContentCardsTableViewController.nib/objects-11.0+.nib and b/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKContentCardsStoryboard.storyboardc/ABKContentCardsTableViewController.nib/objects-11.0+.nib differ diff --git a/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKContentCardsStoryboard.storyboardc/ABKContentCardsTableViewController.nib/runtime.nib b/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKContentCardsStoryboard.storyboardc/ABKContentCardsTableViewController.nib/runtime.nib index e419839..e1b68fe 100644 Binary files a/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKContentCardsStoryboard.storyboardc/ABKContentCardsTableViewController.nib/runtime.nib and b/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKContentCardsStoryboard.storyboardc/ABKContentCardsTableViewController.nib/runtime.nib differ diff --git a/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKContentCardsStoryboard.storyboardc/ABKContentCardsViewController.nib/objects-11.0+.nib b/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKContentCardsStoryboard.storyboardc/ABKContentCardsViewController.nib/objects-11.0+.nib index af1fa85..c224127 100644 Binary files a/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKContentCardsStoryboard.storyboardc/ABKContentCardsViewController.nib/objects-11.0+.nib and b/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKContentCardsStoryboard.storyboardc/ABKContentCardsViewController.nib/objects-11.0+.nib differ diff --git a/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKContentCardsStoryboard.storyboardc/ABKContentCardsViewController.nib/runtime.nib b/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKContentCardsStoryboard.storyboardc/ABKContentCardsViewController.nib/runtime.nib index 3a466b2..014af01 100644 Binary files a/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKContentCardsStoryboard.storyboardc/ABKContentCardsViewController.nib/runtime.nib and b/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKContentCardsStoryboard.storyboardc/ABKContentCardsViewController.nib/runtime.nib differ diff --git a/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKContentCardsStoryboard.storyboardc/pNw-1d-kzS-view-QfY-bo-EsO.nib/objects-11.0+.nib b/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKContentCardsStoryboard.storyboardc/pNw-1d-kzS-view-QfY-bo-EsO.nib/objects-11.0+.nib index 10105c3..d80b75c 100644 Binary files a/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKContentCardsStoryboard.storyboardc/pNw-1d-kzS-view-QfY-bo-EsO.nib/objects-11.0+.nib and b/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKContentCardsStoryboard.storyboardc/pNw-1d-kzS-view-QfY-bo-EsO.nib/objects-11.0+.nib differ diff --git a/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKContentCardsStoryboard.storyboardc/pNw-1d-kzS-view-QfY-bo-EsO.nib/runtime.nib b/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKContentCardsStoryboard.storyboardc/pNw-1d-kzS-view-QfY-bo-EsO.nib/runtime.nib index a1cf467..f3a104e 100644 Binary files a/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKContentCardsStoryboard.storyboardc/pNw-1d-kzS-view-QfY-bo-EsO.nib/runtime.nib and b/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKContentCardsStoryboard.storyboardc/pNw-1d-kzS-view-QfY-bo-EsO.nib/runtime.nib differ diff --git a/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKInAppMessageFullViewController.nib b/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKInAppMessageFullViewController.nib deleted file mode 100644 index 1cbee3c..0000000 Binary files a/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKInAppMessageFullViewController.nib and /dev/null differ diff --git a/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKInAppMessageHTMLFullViewController.nib b/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKInAppMessageHTMLFullViewController.nib index 8c754ca..c71155c 100644 Binary files a/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKInAppMessageHTMLFullViewController.nib and b/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKInAppMessageHTMLFullViewController.nib differ diff --git a/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKInAppMessageModalViewController.nib b/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKInAppMessageModalViewController.nib index a16d742..83151e6 100644 Binary files a/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKInAppMessageModalViewController.nib and b/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKInAppMessageModalViewController.nib differ diff --git a/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKInAppMessageSlideupViewController.nib b/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKInAppMessageSlideupViewController.nib index c11c663..192f8b5 100644 Binary files a/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKInAppMessageSlideupViewController.nib and b/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKInAppMessageSlideupViewController.nib differ diff --git a/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKNewsFeedCardStoryboard.storyboardc/ABKNewsFeedTableViewController.nib b/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKNewsFeedCardStoryboard.storyboardc/ABKNewsFeedTableViewController.nib index 714e982..4c9bc00 100644 Binary files a/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKNewsFeedCardStoryboard.storyboardc/ABKNewsFeedTableViewController.nib and b/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKNewsFeedCardStoryboard.storyboardc/ABKNewsFeedTableViewController.nib differ diff --git a/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKNewsFeedCardStoryboard.storyboardc/ABKNewsFeedViewController.nib b/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKNewsFeedCardStoryboard.storyboardc/ABKNewsFeedViewController.nib index 030c030..68d1561 100644 Binary files a/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKNewsFeedCardStoryboard.storyboardc/ABKNewsFeedViewController.nib and b/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKNewsFeedCardStoryboard.storyboardc/ABKNewsFeedViewController.nib differ diff --git a/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKNewsFeedCardStoryboard.storyboardc/pNw-1d-kzS-view-QfY-bo-EsO.nib b/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKNewsFeedCardStoryboard.storyboardc/pNw-1d-kzS-view-QfY-bo-EsO.nib index 6e00b6f..687247a 100644 Binary files a/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKNewsFeedCardStoryboard.storyboardc/pNw-1d-kzS-view-QfY-bo-EsO.nib and b/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/ABKNewsFeedCardStoryboard.storyboardc/pNw-1d-kzS-view-QfY-bo-EsO.nib differ diff --git a/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/Appboy_iOS_SDK b/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/Appboy_iOS_SDK index aae7ef9..851040d 100755 Binary files a/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/Appboy_iOS_SDK and b/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/Appboy_iOS_SDK differ diff --git a/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/Headers/Appboy.h b/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/Headers/Appboy.h index dd5a5ce..f6f03e8 100644 --- a/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/Headers/Appboy.h +++ b/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/Headers/Appboy.h @@ -13,7 +13,7 @@ #import #ifndef APPBOY_SDK_VERSION -#define APPBOY_SDK_VERSION @"3.19.0" +#define APPBOY_SDK_VERSION @"3.20.0" #endif #if !TARGET_OS_TV @@ -485,11 +485,11 @@ typedef NS_OPTIONS(NSUInteger, ABKDeviceOptions) { - (BOOL)pushNotificationWasSentFromAppboy:(NSDictionary *)options __deprecated_msg("Use [ABKPushUtils isAppboyRemoteNotification:] instead."); /*! - * @param token The device's push token. + * @param deviceToken The device's push token. * * @discussion This method posts a token to Braze servers to associate the token with the current device. */ -- (void)registerPushToken:(NSString *)token; +- (void)registerDeviceToken:(NSData *)deviceToken; /*! * @param application The app's UIApplication object diff --git a/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/Info.plist b/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/Info.plist index d02538a..ba8d7ac 100644 Binary files a/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/Info.plist and b/appboy-component/src/ios-unified/Appboy_iOS_SDK.framework/Info.plist differ diff --git a/appboy-component/src/ios-unified/SDWebImage.framework/SDWebImage b/appboy-component/src/ios-unified/SDWebImage.framework/SDWebImage index c495fec..c42fff9 100755 Binary files a/appboy-component/src/ios-unified/SDWebImage.framework/SDWebImage and b/appboy-component/src/ios-unified/SDWebImage.framework/SDWebImage differ