Questions tagged [react-native-notifications]

25 questions
8
votes
1 answer

react-native-notifications works on iOS, failed on Android

I've installed react-native-notifications and on iOS everything works perfectly, but it keeps giving me errors on Android. I've followed the exact Android installation instructions from here:…
2
votes
0 answers

How do I get an alert to come up every morning at 8am in React native local notification?

I am using react-native-push-notification library. I want to use the localNotificationSchedule to get a notification every morning at 8:10. So I wrote the code like this, and the notification came until about 3 days, and then the notification does…
user19476497
  • 495
  • 1
  • 10
2
votes
0 answers

addNotificationResponseReceivedListener() when the app is closed in React native

I'm working on a React Native app and scheduling a notification, the notification arrive properly, even when the app is closed/killed. But addNotificationResponseReceivedListener() function only executes the logic when the app is in the foreground…
2
votes
0 answers

react-native-notifications crashing the app when notification received

I am using react-native-notifications library to implement notification in my app with message cloud firebase , I have followed all guidelines in the documentation, For react-native-notifications library For firebase cloud messaging So when I go to…
1
vote
0 answers

React native app is crashing when a notification opened when the app is killed or quit state

I am using firebase for push notification and this is the method triggered when I open the notification from quit or killed state messaging().getInitialNotification(). Some how it works in Android 9, 10 version but from 11 onwards its not working…
1
vote
0 answers

Expo notification opens Expo GO

I set up my expo notification app with the HTTP/2 API. It works fine but after I build the app, push a notification and click on it on the device, it opens Expo GO instead of my installed App. I'm testing on IOS with a TestFlight submitted app. I…
1
vote
0 answers

error: cannot find symbol if (Build.VERSION.SDK_INT < Build.VERSION_CODES.TIRAMISU)

react-native build failed after installing @notifee/react-native Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Error: Command failed: ./gradlew…
Engr.Aftab Ufaq
  • 3,356
  • 3
  • 21
  • 47
1
vote
2 answers

expo notifications not popping up

I tried to program a local notification by expo, following the code provide on: here - docs.expo.dev The problem: the notification simple don't appear in my phone - IOS. When I click into the button, nothing happens. My App.js file: import {…
1
vote
0 answers

React-native fetch data periodically and schedule local notifications

I need to set notifications daily multiple times. The timings data (which is variable) is being fetched by an API. For this I probably need a background task that will periodically fetch the data for the week/day. That task should obviously run even…
1
vote
0 answers

Expo Multiple Local Notifications Not Triggering On Time

Expo multiple local notifications aren't triggering on time. I am receiving only first notification on time while the others at times trigger a bit late or simultaneously. Few times they do get trigger on time but why I am facing such inconsistency…
0
votes
0 answers

Enable notification with React-Native-Notification on Android

I'm following this to enable notifications on my android device. I can see the messages getting pushed to the device through logging inside Notifications.events().registerNotificationReceivedForeground(...). However, I'm not seeing any notifications…
0
votes
0 answers

Rocket.chat notification configuration

I'm white labeling rocket.chat react native application. Everything else is up and running except the notifications. Following are the issues I'm facing. Android: Firebase configuration is completed and rocket.chat app is receiving test…
0
votes
1 answer

Expo scheduled daily notification - how to not get stacked notifications in the tray?

So, I'm using expo-notifications, and I'm scheduling a daily notification using Notifications.scheduleNotificationAsync({ content: { title: "Title", body: 'Message', }, trigger: { …
0
votes
0 answers

React Native Notifications WIX registerRemoteNotificationsRegistered not triggered on Android

I have installed the library following all the steps in the documentaiton, created the app on firebase using the SHA-1 from the project (generating using gradle), downloaded the google-services.json file and add it under the folder app. Here's the…
PietroPutelli
  • 482
  • 4
  • 20
0
votes
1 answer

Is it possible to navigate from app.js with React Navigation?

I am switching over from react-native-router-flux to react-navigation v6. I have my navigation wired up again for the most part, I am now struggling to navigate from app.js. I navigate from here only to handle notification navigation. It seems like…
1
2