Handling push notifications when app is in the background #4863
Unanswered
estebanInnventto
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to use push notifications with custom sound and vibration in a project. My problem is when the app is in the foreground, everything works fine but in the background I can't get the vibration to work.
I'm following the instructions I found here but it doesn't work for me.
index.js
bgMeessaging.js
I've also tried using Vibration.vibrate() but it doesn't work either
This is the library I'm using to handle notifications "react-native-firebase": "~5.5.5"
I've been stuck in this for a while and I would really appreciate any help I can get, I'm also fairly new to react native.
Beta Was this translation helpful? Give feedback.
All reactions