Skip to content

Commit

Permalink
RN and iOS updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ami-aman committed Sep 26, 2024
1 parent 9b4e720 commit d6e0cf2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion ios/wrappers/push/CioRctPushMessaging.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ enum PushPermissionStatus: String, CaseIterable {
case granted

var value: String {
return rawValue.firstUppercased
return rawValue.uppercased()
}
}

Expand Down
5 changes: 0 additions & 5 deletions ios/wrappers/utils/CioExtensions.swift

This file was deleted.

6 changes: 3 additions & 3 deletions src/cio-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export type CioPushPermissionOptions = {
}

export enum CioPushPermissionStatus {
Granted = 'Granted',
Denied = 'Denied',
NotDetermined = 'NotDetermined',
Granted = 'GRANTED',
Denied = 'DENIED',
NotDetermined = 'NOTDETERMINED',
}

0 comments on commit d6e0cf2

Please sign in to comment.