File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ + (void)didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken
176176{
177177 NSMutableString *hexString = [NSMutableString string ];
178178 NSUInteger deviceTokenLength = deviceToken.length ;
179- const unsigned char *bytes = reinterpret_cast< const unsigned char *>( deviceToken.bytes ) ;
179+ const unsigned char *bytes = deviceToken.bytes ;
180180 for (NSUInteger i = 0 ; i < deviceTokenLength; i++) {
181181 [hexString appendFormat: @" %02x " , bytes[i]];
182182 }
@@ -349,7 +349,7 @@ - (void)handleRemoteNotificationRegistrationError:(NSNotification *)notification
349349static inline NSDictionary *RCTSettingsDictForUNNotificationSettings (BOOL alert, BOOL badge, BOOL sound) {
350350 return @{@" alert" : @(alert), @" badge" : @(badge), @" sound" : @(sound)};
351351 }
352- }
352+
353353
354354RCT_EXPORT_METHOD (presentLocalNotification:(UILocalNotification *)notification)
355355{
You can’t perform that action at this time.
0 commit comments