Skip to content

POST_NOTIFICATIONS doesn't exist in /react-native-permissions/src/permissions.android.ts #972

@winwithtyou

Description

@winwithtyou

Before submitting a new issue

  • I tested using the latest version of the library, as the bug might be already fixed.
  • I tested using a supported version of react native.
  • I checked for possible duplicate issues, with possible answers.

Bug summary

I'm working around with react-native-permissions. According to the readme of react-native-permissions, POST_NOTIFICATIONS is included in the Android permission list, but it does not exist in the actual source code. I confirmed that it exists correctly in version 4.x.

Library version

5.x

Environment info

I've tested in react-native 0.78.1

Steps to reproduce

Reproducible sample code

import { checkMultiple, openSettings, PERMISSIONS, requestMultiple, RESULTS } from 'react-native-permissions';

const AndroidPermissionList = [
  PERMISSIONS.ANDROID.POST_NOTIFICATIONS
];

Metadata

Metadata

Assignees

Labels

duplicateThis issue or pull request already exists

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions