Skip to content

Commit

Permalink
revert objc on show prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
mrehan27 committed Nov 20, 2024
1 parent 8860cd6 commit 5d7a7f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/wrappers/push/CioRctPushMessaging.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class CioRctPushMessaging: NSObject {
MessagingPush.shared.trackMetric(deliveryID: deliveryId, event: event, deviceToken: deviceToken)
}

@objc
@objc(showPromptForPushNotifications:resolver:rejecter:)
func showPromptForPushNotifications(options: [String: AnyHashable], resolver resolve: @escaping (RCTPromiseResolveBlock), rejecter reject: @escaping (RCTPromiseRejectBlock)) {
// Show prompt if status is not determined
getPushNotificationPermissionStatus { status in
Expand Down

0 comments on commit 5d7a7f3

Please sign in to comment.