datso / react-native-pjsip

A PJSIP module for React Native.
http://datso.github.io/react-native-pjsip
GNU General Public License v3.0
273 stars 229 forks source link

Android: handle push-notification if app is close #162

Closed krajay015 closed 5 years ago

krajay015 commented 5 years ago

In iOS we already have react-native-callkit and react-native-voip-push-notification to handle VoIP call. There was one article to create callKit for android-device but not properly explained as well as deprecated method. Can anyone help me to handle notification if App is killed in android. PS: I'm using react-native-push-notification to handle notification

@cmendes0101 ?

krajay015 commented 5 years ago

@datso @akolpakov is there any available method to handle notification for android?

ryanmcclure4 commented 4 years ago

Hey @krajay015 were you able to get this working?

ryanmcclure4 commented 4 years ago

I've written a package to handle this for Android. As of now, it is very basic and simply opens the app and triggers a js callback: https://github.com/reachifyio/react-native-voip-push-receiver