I want to have a use effect to create a listener for notifications, that shows or hides the notifications based on the current route of the app. Is the best approach to unmount and re mount use effect every time the route changes ? Or is there a better approach for this ?

This page summarizes the projects mentioned and recommended in the original post on /r/reactnative

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • react-native-android-notification-listener

    React Native Android Notification Listener - Listen for status bar notifications from all applications

  • Did you find a good module to do this for you? I've been trying to use https://github.com/leandrosimoes/react-native-android-notification-listener but it appears to throw an error importing ([TypeError: Cannot read property 'getPermissionStatus' of null]) every time.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts