I’m using sample code available on connecty-cube GitHub repo. When I call to user who is on android phone doesn’t receive the notification for call when app is in background. And when app is open user can see the incoming call. Constructor of PushNotificationsService run and I can see this console [PushNotificationsService][constructor]
. But inside _registerBackgroundTasks()
function [JSNotifyWhenKilledTask] notificationBundle
console doesn’t run. I do get UDID for channels APNS, APNS VOIP and UDID for channel FCM in connecty cube dashboard.
Question posted in React native
The official React Native documentation can be found here.
The official React Native documentation can be found here.
2
Answers
So that's how I figured out the problem.
It stated
classpath 'com.google.gms:google-services:4.3.13'
in(<project>/build.gradle)
. But mine wasclasspath 'com.google.gms:google-services:4.3.10'
. And because of that notification was not appearing. Now it's works.I assume you are referring https://github.com/ConnectyCube/connectycube-reactnative-samples/tree/master/RNVideoChat
I suggest the following:
google-services.json
properly located