Howdy y'all,
I am working on adding time sensitive notifications to my app written in react native. However, I am running into some bumps in the road. I am using the package "react-native-firebase/messaging" and "react-native-firebase/app". I am able to receive and process notifications just fine however, I am unable to receive "time-sensitive" notifications. I was wondering if anybody has had this issue with react native and had any ideas.
here is the versions of React native, and the firebase pacakges
"@react-native-firebase/app": "^12.2.0",
"@react-native-firebase/messaging": "^12.2.0",
"react-native": "0.68.2",
{
"to": "<fcm token>",
"notification": {
"title": "Direct Send Test",
"body": "this is a test for my sanity",
"sound": "default",
"badge": 1,
"mutable_content": false
},
"aps": {
"alert": "test message",
"badge": 1,
"sound": "default",
"interruption-level": "time-sensitive"
},
"data": {
"command": "testcase",
"popup": true,
"sound": true,
"uid": "ladF5joB"
}
}
thanks in advance!