-
Notifications
You must be signed in to change notification settings - Fork 459
Additional improvements in headless mode #226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @jpudysz, For the backToForeground, I've merged a #223 that will open the app if the activity if not started. I don't understand the use of |
It's for the case when my Android app is killed (even with a locked screen). Current behaviour:
With my PR:
|
Hello, Im having a similar problem, but I dont know if my implementation is good enough. When I receive a call Push Notification from I tried to install I dont know if my problem is related to this. |
Hi @maitzeth, |
Hello @manuquentin yes, I saw your last PR from yesterday. This feature was needed. Thank you! I have a little question: There is a way to open the app on |
Hi @maitzeth, |
@manuquentin I've write an issue something in Android 9 and 10 in this #227 (comment) do you have any idea about this? |
Hello everyone, I'm super busy and I can't contribute here, what's more, we are far behind each other. You can check my repo with a few additional improvements for Android (https://github.com/jpudysz/react-native-callkeep) - tested on production as I'm developing for my client's VoIP app. I tried to create PR here, but I changed PS. I added changelog inside my repo, so you can check new functionalities. |
Thank you so much @jpudysz . you fork helped me get add functionality that I really needed for my usecase
Thanks alot for sharing. |
I'm happy that I was able to help someone. Cheers from Poland! |
Thanks you so much @jpudysz , very useful. solved my problem with backforeground and answerCall event. |
Any update on this? |
hi, any solution for IOS? In case app killed I can not do anything. Can someone help |
@fukemy I have strugled a lot with iOS and app being killed. You have to install react-native-voip-push-notification package and adjust the iOS files according to their repo. Documentation is a bit messy but you will basically add lines to AppDelegate.m so it wakes the app. For me, after following instructions, app would start and after 4/5 seconds,it will catch the notification from background message handler. Hope i helped |
Hello, I would like to create PR with additional improvements related to headless mode. Before I create PR please let me know if it's needed. My previous PR (#221 ) was left without any response so I'm trying to implement needed features on my fork and I can share them with community.
But let's go back to new improvements:
I took code from @manuquentin (#223) and added a few changes:
backToForeground
, just added improvement for silent fail in the headless modeopenAppFromHeadlessMode
which can takecallUUID
and saves itgetExtrasFromHeadlessMode
and redirect to user's call UIWith this PR we would be able to drop additional dependency like
react-native-invoke-app
.Demo:
The text was updated successfully, but these errors were encountered: