Socket
Socket
Sign inDemoInstall

@connected-home/react-native-push-notification-hive

Package Overview
Dependencies
2
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@connected-home/react-native-push-notification-hive

React Native Local and Remote Notifications for Hive app


Version published
Maintainers
2
Created

Readme

Source

React Native Push Notifications

Hive-specific changes

Since this lib is not yet published, in order to use it we'll need to tell hive-soaring-sparrow to replace the original lib with this fork. Assumptions:

  • You have hive-soaring-sparrow cloned in your current directory, with yarn install etc. done already done (RN project ready to work)
  • You already cloned this repo right next to your hive-soaring-sparrow directory
  • You are currently in the hive-soaring-sparrow directory

Do the following to replace the original lib in the project:

rm -rf node_modules/@connected-home/react-native-push-notification-hive
yarn add ../react-native-push-notification-hive

You can use the above each time you want to rebuild the native library to see changes in the project. TODO: Find out a way for the project to fetch the library from the Git repo.

When starting the bundler, it might be necessary to clear its cache too:

rm -rf /tmp/metro-bundler-cache-* && npm start --reset-cache

Breaking changes

3.1.0

remoteNotificationsRegistered event is now sent with two parameters (deviceToken and tokenType) instead of one for Android. Clients must use the tokenType to determine which service the token should be sent to.

===

See the docs for original library at: https://github.com/zo0r/react-native-push-notification

Keywords

FAQs

Package last updated on 16 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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc