File tree Expand file tree Collapse file tree
FirebaseMessaging/Sources/Token Expand file tree Collapse file tree Original file line number Diff line number Diff 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) {
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments