New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-notifications-utils

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-notifications-utils

react native (native module) notifications utils, for making notifications easier

  • 0.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.7K
decreased by-15.14%
Maintainers
1
Weekly downloads
 
Created
Source
React Native Notifications Utils logo

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.
  • On Android:

    • API version is >= 26 with channelId will open the channel settings. if channelI is not provided, the app's notification settings will be opened.
    • API version is < 26, the application settings screen is opened
  • On iOS:

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

Keywords

FAQs

Package last updated on 02 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc