Skip to content

Commit deb6b38

Browse files
cortinicofacebook-github-bot
authored andcommitted
Remove deprecated POST_NOTIFICATION from PermissionsAndroid (#36936)
Summary: Pull Request resolved: #36936 I'm removing `POST_NOTIFICATION` as that's a typo as it should be `POST_NOTIFICATIONS` We had both in version 0.71 so we can remove the wrong one as it's misleading for users. Changelog: [Android] [Removed] - Remove deprecated POST_NOTIFICATION from `PermissionsAndroid` Reviewed By: sshic Differential Revision: D45054310 fbshipit-source-id: be733811a1ee8e7c9d6e4986c0303eed7c07c35b
1 parent 9e5c963 commit deb6b38

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/react-native/Libraries/PermissionsAndroid/PermissionsAndroid.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ const PERMISSIONS = Object.freeze({
7575
ANSWER_PHONE_CALLS: 'android.permission.ANSWER_PHONE_CALLS',
7676
READ_PHONE_NUMBERS: 'android.permission.READ_PHONE_NUMBERS',
7777
UWB_RANGING: 'android.permission.UWB_RANGING',
78-
POST_NOTIFICATION: 'android.permission.POST_NOTIFICATIONS', // Remove in 0.72
7978
POST_NOTIFICATIONS: 'android.permission.POST_NOTIFICATIONS',
8079
NEARBY_WIFI_DEVICES: 'android.permission.NEARBY_WIFI_DEVICES',
8180
});
@@ -107,7 +106,6 @@ class PermissionsAndroid {
107106
CAMERA: string,
108107
GET_ACCOUNTS: string,
109108
NEARBY_WIFI_DEVICES: string,
110-
POST_NOTIFICATION: string, // Remove in 0.72
111109
POST_NOTIFICATIONS: string,
112110
PROCESS_OUTGOING_CALLS: string,
113111
READ_CALENDAR: string,

0 commit comments

Comments
 (0)