Questions tagged [expo-notifications]
114 questions
8
votes
3 answers
Expo notifications not working when channel id is used
I am using the following code to create two channels for my expo react app, on Android:
Notifications.setNotificationChannelAsync("default", {
name: "default",
importance: Notifications.AndroidImportance.MAX,
…

Ryan Pergent
- 4,432
- 3
- 36
- 78
6
votes
0 answers
addNotificationReceivedListener not receiving notification in expo react native while using expo-notifications
I am using expo react native on a project and I am using the expo-notifications package within the project.
I have added "useNextNotificationsApi": true, to my app.json file
under the android object which is under the expo object so…

Joshua Majebi
- 1,110
- 4
- 16
- 34
5
votes
0 answers
React Native build failed ios/Pods/Headers/Public/glog/glog/logging.h:509:1: note: namespace 'google' begins here namespace google
I want to make my app ready for Push Notification. There fore i use Expo Notifications with React-Native-Firebase (it is a bare workflow app).
Mi error comes from the Podfile.
For firebase i need to add use_frameworks!
But than i get this…

Lukas
- 305
- 2
- 11
4
votes
1 answer
Handle incomming notification with expo-notifications
I have a problem regarding the following code sample:
Notifications.setNotificationHandler({//makes sure notification is displayed even when app is open, nothing else
handleNotification: async (notification) => {
//const value = await…

Kubaghetto the fresh Testobun
- 363
- 1
- 4
- 18
4
votes
1 answer
Can’t get expoToken in Expo Notification, due to Failed resolution of: Lcom/google/firebase/iid/FirebaseInstanceId;
Good afternoon, hope you guys have a good day, i'm already building some apps using expo bare workflow, and need to use Expo Notification, i'm following all the instruction, from expo notification documentations, and fcm configurations, to setup…

Haksatrya Bhaswara
- 187
- 2
- 17
3
votes
0 answers
Repeating expo local notification with dynamic/changing content data
I am having troubles setting up a weekly repeating local notification with dynamic/changing content data (with expo-notifications).
Although I can create a scheduled notification for a specific day that repeats, but in my case with the…

dsds
- 155
- 1
- 3
- 12
3
votes
1 answer
Expo-notifications background notification reception handling
I am using expo-notifications package in react native (expo) to handle incoming notifications. I am getting notification correctly when the app is in background and foreground - for sending notifications I am using 'expo-server-sdk' package in the…

John George
- 171
- 2
- 11
3
votes
1 answer
React Native Navigate to Particular Screen When Notification is Clicked
I am trying to implement navigation upon the user click on a notification that they have received. I am successfully receiving the notifications with expo-notifications and accept data (routes) from API but unable to navigate to another screen when…

denistepp
- 489
- 7
- 23
2
votes
1 answer
How to set "content-available" : 1 with expo push api when sending push notification to ios devices?
I'm developing an app with expo (SDK 48). I'm trying to listen to notifications received in the background on an IPhone 11 (real device).
I already added this to my App.js file:
const BACKGROUND_NOTIFICATION_TASK =…

Gil Jardim
- 21
- 4
2
votes
0 answers
Notifications.requestPermissionsAsync() not show prompt to user - react native
i am facing problem related to requestPermissionAsync this method does not show prompt to the user. Any help would be highly appreciated
Android Version: 12
Expo SDK: 47

Muhammad Faisal
- 55
- 5
2
votes
0 answers
Schedule an Expo notification and cancel it an hour later?
Building an (Android) app for myself through Expo and React Native. I want to send scheduled time-sensitive notifications to the user (me). If the user hasn't interacted with a notification after an hour, it's irrelevant, so I would like to cancel…

Lucy Johnston
- 31
- 3
2
votes
1 answer
how can i schedule expo notifications from python
react-native expo for application(android) and python[django] for backend , i have created an app and successfully sent notification from python to my app [i am using expo notifications for sending notifications] but i want to schedule them , its…

faijan memon
- 183
- 1
- 9
2
votes
1 answer
Navigate into nested navigator when Expo Push Noti is clicked
I am trying to navigate to a certain screen whenever I click on an Expo Push Notification. The screen that I want to navigate to is rather deep into the NavigationContainer.
However, the issue that I am facing now is being unable to even navigate to…

domster
- 556
- 2
- 8
- 26
2
votes
1 answer
Expo Notifications addNotificationReceivedListener not being called in foreground only on Android standalone
I am trying to receive notifications in my Expo app. I can successfully register a token, and the notification is received fine when the app is not foregrounded. However, on Android only the addNotificationReceivedListener callback is not being…

Adam Strike
- 356
- 1
- 4
- 16
2
votes
1 answer
expo notification how set start time
The challenge is: how can I set up the start date for notification in the new expo API. In the old API (which is depricated today) it was feasible but I can't see the solution in the new doc
For example: set up a notification on every 2nd day start…

Gabor Czene
- 21
- 3