Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Commit 28cf219

Browse files
committed
Correct parameter
1 parent 8691920 commit 28cf219

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ Notifications.scheduleLocalNotification = function() {
453453

454454
Notifications.cancelLocalNotifications = function(userInfo) {
455455
if ( Platform.OS === 'ios' ) {
456-
return this.callNative('removePendingNotificationRequests', [userInfo.id]);
456+
return this.callNative('removePendingNotificationRequests', [[userInfo.id]]);
457457
} else {
458458
return this.callNative('cancelLocalNotifications', [userInfo]);
459459
}

0 commit comments

Comments
 (0)