Questions tagged [expo-notifications]

114 questions
0
votes
0 answers

expo-notification not showing notification from android device

I am using expo 42 in my project. I just exported the android folder by doing android-prebuild. After exporting the Android folder, I made the necessary arrangements for the notification in the android manifest. However, in android 12 and higher…
0
votes
0 answers

How to direct a user to a specific screen with a notification in expo-router?

how do you actually make a user go to a particular screen when clicking on a notification in expo-router? I know it is said to be automatically handled by expo-router but I lack a piece of information to make it work. So, is there any specific…
0
votes
0 answers

Can I send push notifications with suggested user actions in Expo app using server-defined categories?

I would like to make an expo app allowing me to send push notifications from the server while the app is backgrounded and I want the app to have some actions the user can perform that are defined by the server. Concretely, this can be something like…
0
votes
0 answers

Not receiving userText (response from textInput) in expo notification response

I'm pretty new to expo and expo notifications. Currently, I'm working on a project where I need the user to be able to send a response to a notification. From what I understand, I should be able to do this by creating a textInput in the notification…
pelotador.1
  • 195
  • 1
  • 12
0
votes
0 answers

Expo notification crash app when app is in foreground -- TypeError: undefined is not an object (evaluating 'registration.listener.apply')

Expo app crash when receive a notification and app in foreground TypeError: undefined is not an object (evaluating 'registration.listener.apply') Followed this steps to implement: text Notifications.setNotificationHandler({ handleNotification:…
RIM
  • 1
0
votes
0 answers

Expo-av play new audio file when expo-task-manager trigger

I would like to play sound when some location - region entered. I am sending a store dispatch when I enter the region and I can see the expo-notification but the sound is not played. (I have to open up the app every time if I need to hear the…
Falzao
  • 23
  • 4
0
votes
0 answers

expo push notifications working at expo app but not working for android on production

for my expo project i have configured push notifications using Expo-notifications it's working fine for ios apps published on app store But, for android it only work using expo app android and notification part in app.json : "android": { …
0
votes
0 answers

FCM server api is returning a response of 200 in expo app, but the notification never gets received

Firebase cloud messaging server api(https://fcm.googleapis.com/fcm/send) is returning a response of 200 in expo app, but the notification never gets received on any of the devices that the app build is installed in, but it works perfectly when i use…
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

Expo-notification - push notification does not show up on Android 11

Using Nokia 7.2 (Android 11) I can't make push notification to show up for my app. Preconditions: On iOS everything works (local/push notification) Android local notification works (both foreground/background) I am using an eas standalone…
0
votes
0 answers

I get a zlib error everytime i import "expo-server-sdk" into my expo app

Everytime I import "expo-server-sdk" into my app I get this an error "undefined Unable to resolve module ./zlib_bindings from /home/duke/Code/rete/node_modules/zlib/lib/zlib.js: None of these files…
Jeoffrey Duke
  • 143
  • 1
  • 11
0
votes
0 answers

Can I send push notifications to a specific device using expo notifications

So, I am trying to set up a sort of notification where if you receive a message it can come up as a push notification to the receipient. Maybe storing the receipient's token in the database and using it to send directly to them when a message is…
Jeoffrey Duke
  • 143
  • 1
  • 11
0
votes
1 answer

Expo Push Notifications only appearing in foreground, not background

The issue I am facing is related to sending push notifications using the Expo Push Notification API. I am sending HTTP POST requests to the Expo Push Notification V2 API to send notifications to Expo push token, which is obtained by registering the…
0
votes
0 answers

dismissNotificationAsync() not working in Expo Go

I am working on my application in React Native Expo and I have one small problem with expo-notifications in Expo Go. I am showing received notifications in Profile Screen and I want to remove notification from notification bar if I click on this…
0
votes
0 answers

Expo requestPermissionAsnyc not showing prompt on Android

I have been implementing push notifications for my React Native mobile app. But I am having issues now the app is in our staging environment. When the user signs in, their deviceToken is sent to our backend server, where we can store this data, to…