0.3.0 • Published 2 years ago

react-native-notifications-utils v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

react-native-notifications-utils

Features

  • Opening App Notifications Settings for Android and iOS
  • 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.

ParameterTypeDescriptionAndroidiOS
channelIdstringThe 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