Skip to content

Commit

Permalink
Updating Unity plugins to 1.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Wenzhi committed Sep 19, 2016
1 parent 5e80f8a commit fac7941
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Assets/Plugins/iOS/AppboyAppDelegate.mm
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,18 @@ - (void)application:(UIApplication *)application didRegisterForRemoteNotificatio
[[AppboyUnityManager sharedInstance] registerPushToken:deviceToken];
}

- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo {
[super application:application didReceiveRemoteNotification:userInfo];
NSLog(@"AppboyAppDelegate called from application:didReceiveRemoteNotification:. UIApplicationState is %ld", (long)[[UIApplication sharedApplication] applicationState]);

// Pass notification to Appboy
[[AppboyUnityManager sharedInstance] registerApplication:application
didReceiveRemoteNotification:userInfo];
}

- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult result))handler {
[super application:application didReceiveRemoteNotification:userInfo fetchCompletionHandler:handler];
NSLog(@"AppboyAppDelegate called from application:didReceiveRemoteNotification. UIApplicationState is %ld", (long)[[UIApplication sharedApplication] applicationState]);
NSLog(@"AppboyAppDelegate called from application:didReceiveRemoteNotification:fetchCompletionHandler:. UIApplicationState is %ld", (long)[[UIApplication sharedApplication] applicationState]);

// Pass notification to Appboy
[[AppboyUnityManager sharedInstance] registerApplication:application
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 1.8.1
* Updates SDK to modify delegate usage to fix an issue with push-click handling introduced in iOS 10 - see https://github.com/Appboy/appboy-ios-sdk/blob/master/CHANGELOG.md for details.

## 1.8.0
* Updates the iOS plugin to use Appboy iOS SDK 2.21.0, which drops support for iOS 6.
* Updates the Android plugin to use Appboy Android SDK 1.13.5.
Expand Down

0 comments on commit fac7941

Please sign in to comment.