react-native-notifications-utils
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published
React Native Notifications Utils logo

react-native-notifications-utils

Features

  • [X] Opening App Notifications Settings for Android and iOS
  • [X] Typescript

Installation

yarn add react-native-notifications-utils

iOS

cd ios && pod install

Usage

import NotificationsUtils from "react-native-notifications-utils";

// ...

NotificationsUtils.openSettings();

API

openSettings(channelId?: string)

API used to open the Platform specific System settings for the application.

Parameter Type Description Android iOS
channelId string The channel id to open the settings for. If not provided, the default channel will be used.

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

Author

License

MIT

TODO:

  • [ ] Add tests
  • [ ] Add support for request permissions
  • [ ] Keeps updated with new native features

Made with create-react-native-library

Package Sidebar

Install

npm i react-native-notifications-utils

Weekly Downloads

61

Version

0.3.0

License

MIT

Unpacked Size

35.8 kB

Total Files

28

Last publish

Collaborators

  • stringsaeed