Skip to content

Commit

Permalink
Releasing Xamarin Bindings version 1.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Bucimis committed Sep 12, 2019
1 parent dc0be47 commit 38f740b
Show file tree
Hide file tree
Showing 24 changed files with 22 additions and 11 deletions.
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package >
<metadata>
<id>AppboyPlatform.AndroidBinding</id>
<version>1.9.0</version>
<version>1.10.0</version>
<authors>Braze, Inc.</authors>
<owners>Braze, Inc.</owners>
<licenseUrl>https://github.com/Appboy/appboy-xamarin-bindings/blob/master/LICENSE</licenseUrl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package >
<metadata>
<id>AppboyPlatformXamariniOSBinding</id>
<version>1.9.0</version>
<version>1.10.0</version>
<authors>Braze</authors>
<owners>Braze</owners>
<licenseUrl>https://github.com/Appboy/appboy-xamarin-bindings/blob/master/LICENSE</licenseUrl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -87,4 +87,3 @@ public override void DidReceiveNotificationResponse(UNUserNotificationCenter cen
}
}
}

6 changes: 3 additions & 3 deletions appboy-component/src/ios-unified/ApiDefinition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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.")]
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#import <UserNotifications/UserNotifications.h>

#ifndef APPBOY_SDK_VERSION
#define APPBOY_SDK_VERSION @"3.19.0"
#define APPBOY_SDK_VERSION @"3.20.0"
#endif

#if !TARGET_OS_TV
Expand Down Expand Up @@ -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
Expand Down
Binary file not shown.
Binary file modified appboy-component/src/ios-unified/SDWebImage.framework/SDWebImage
Binary file not shown.

0 comments on commit 38f740b

Please sign in to comment.