Skip to content

Commit 9188bd2

Browse files
authored
Merge pull request #130 from urbanairship/MOBILE-2960
[MOBILE-2960] Fix crash and prepare release 9.0.2
2 parents 257007b + 6750c2c commit 9188bd2

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

Assets/Plugins/iOS/UAUnityPlugin.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ - (void)receivedNotificationResponse:(UNNotificationResponse *)notificationRespo
440440
- (void)channelUpdated:(NSNotification *)notification {
441441
NSString *channelID = notification.userInfo[UAChannel.channelUpdatedEvent];
442442
UA_LDEBUG(@"channelUpdated: %@", channelID);
443-
if (self.listener) {
443+
if (self.listener && !channelID) {
444444
UnitySendMessage(MakeStringCopy([self.listener UTF8String]),
445445
"OnChannelUpdated",
446446
MakeStringCopy([channelID UTF8String]));

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Unity Plugin ChangeLog
22

3+
## Version 9.0.2 - March 15, 2022
4+
5+
Patch release that fixes an iOS crash related to push registration.
6+
7+
### Changes
8+
- Fix iOS crash during registration
9+
310
## Version 9.0.1 - March 1, 2022
411

512
Patch release that fixes an iOS error related to a wrong method name.

airship.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Plugin version
2-
version = 9.0.1
2+
version = 9.0.2
33

44
# Urban Airship iOS SDK version
55
iosAirshipVersion = 16.1.1

0 commit comments

Comments
 (0)