diff --git a/packages/messaging/ios/RNFBMessaging/RNFBMessagingSerializer.m b/packages/messaging/ios/RNFBMessaging/RNFBMessagingSerializer.m index be942a2329..d4ceb3c955 100644 --- a/packages/messaging/ios/RNFBMessaging/RNFBMessagingSerializer.m +++ b/packages/messaging/ios/RNFBMessaging/RNFBMessagingSerializer.m @@ -113,7 +113,7 @@ + (NSDictionary *)remoteMessageUserInfoToDict:(NSDictionary *)userInfo { } // message.mutableContent - if (apsDict[@"mutable-content"] != nil && [apsDict[@"mutable-content"] isEqualToString:@"1"]) { + if (apsDict[@"mutable-content"] != nil && [apsDict[@"mutable-content"] intValue] == 1) { message[@"mutableContent"] = @([RCTConvert BOOL:apsDict[@"mutable-content"]]); }