Skip to content

Commit 765411c

Browse files
author
Paul King
committed
Merge pull request #2 from smithmicro/SPFATT-4135-Update_Local_firebase-ios-sdk
SPFATT-4135 - Update local firebase_ios_sdk
1 parent d3ee70c commit 765411c

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

FirebaseMessaging/Sources/Token/FIRMessagingTokenInfo.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,8 @@ - (nullable instancetype)initWithCoder:(NSCoder *)aDecoder {
187187
forClassName:@"FIRInstanceIDAPNSInfo"];
188188
#pragma clang diagnostic push
189189
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
190-
rawAPNSInfo = [NSKeyedUnarchiver unarchiveObjectWithData:(NSData *)rawAPNSInfo];
190+
// rawAPNSInfo = [NSKeyedUnarchiver unarchiveObjectWithData:(NSData *)rawAPNSInfo];
191+
rawAPNSInfo = nil;
191192
needsMigration = YES;
192193
#pragma clang diagnostic pop
193194
} @catch (NSException *exception) {

FirebaseMessaging/Sources/Token/FIRMessagingTokenStore.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ + (nullable FIRMessagingTokenInfo *)tokenInfoFromKeychainItem:(NSData *)item {
108108
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
109109
[NSKeyedUnarchiver setClass:[FIRMessagingTokenInfo class]
110110
forClassName:@"FIRInstanceIDTokenInfo"];
111-
tokenInfo = [NSKeyedUnarchiver unarchiveObjectWithData:item];
111+
// tokenInfo = [NSKeyedUnarchiver unarchiveObjectWithData:item];
112+
tokenInfo = nil;
112113

113114
#pragma clang diagnostic pop
114115

0 commit comments

Comments
 (0)