QuickBlox / quickblox-android-sdk

QuickBlox Android SDK includes code snippets with main use cases and framework JAR library.
BSD 3-Clause "New" or "Revised" License
416 stars 698 forks source link

There are no background tasks for incoming calls #717

Closed pumatus closed 2 years ago

pumatus commented 4 years ago

oh my god!

krishnameena commented 4 years ago

Yes not able to receive calls when app is not running.

Did you find any solution ?

pumatus commented 4 years ago

no ......

krishnameena commented 4 years ago

Got it working had some issues with Firebase notifications.

pumatus commented 4 years ago

yes Do you want relevant code? I seem to be able to run caller ID in the background

krishnameena commented 4 years ago

Yes, please

alexparvus1 commented 4 years ago

To know how to develop an application with calls in the background and with call notification when the call comes while the application is in the background - you may go to the link below and find VideoChat Sample with wanted functionality.

https://github.com/QuickBlox/quickblox-android-sdk/tree/master/sample-videochat-java

deepak302 commented 3 years ago

In Sample also not working in background when we have killed app or in background, we have try to get solution from technical support but they also not provide me the support for this issue.

bassamfouad92 commented 3 years ago

@deepaksharma302 I have written my own solution for it Quickblox not updated for android 10 onwards.. For android 10 I have implemented push notification call when app in background and when phone is switched off it will show full screen like whatsapp does

deepak302 commented 3 years ago

@bassamfouad92 Thanks for finding the solution, Please share me the link of your code so that we can check and integrate it.

alexparvus1 commented 3 years ago

@deepaksharma302 if you use the sample and if you want to receive calls when the sample-application is killed - you need to create a firebase account (https://firebase.google.com/) and enable the pushnotifications. Then you need to put your "sender_id" from your firebase project into the proper resource in the sample-application - resources/strings -> sender_id. And all will work fine. And all will work on any Android platform include 10, 11 or 12

alexparvus1 commented 3 years ago

@bassamfouad92 , @deepaksharma302 - if you read the Quickblox documentation about how to set the pushnotifications sender_id into the sample app - it will receive calls in the background or when the app was killed.

alexparvus1 commented 3 years ago

Also, if you are using Free Plan - there are no offline messages.

bassamfouad92 commented 3 years ago

@alexparvus1 in Quicblox sample there is no code for how to get fullscreen (incoming background call) when phone is switched off. and just gives you silent notification.

bassamfouad92 commented 3 years ago

@deepaksharma302 email me at bassamfouad92@gmail.com

alexparvus1 commented 3 years ago

@alexparvus1 in Quicblox sample there is no code for how to get fullscreen (incoming background call) when phone is switched off. and just gives you silent notification.

Yes because the "sample app" - it's just a sample, just an example of how you may use QuickBlox functionality. Samples - it's free for all! You can use them as much as you want )) Other Android features you want - you can use freely - it's your development, and you do it very well!

bassamfouad92 commented 3 years ago

@alexparvus1 in Quicblox sample there is no code for how to get fullscreen (incoming background call) when phone is switched off. and just gives you silent notification.

Yes because the "sample app" - it's just a sample, just an example of how you may use QuickBlox functionality. Samples - it's free for all! You can use them as much as you want )) Other Android features you want - you can use freely - it's your development, and you do it very well!

I had done my own solution it is working fine for android 10 and 11 to

kkvarma commented 3 years ago

@bassamfouad92 I am also facing the same issue. Can you share the manifest file code related to Push notifications. Please share me the link of your code so that we can check and integrate it.

deepak302 commented 3 years ago

Hello Kumar, Please connect with me on my whatsapp number or skype mentioned below so that we can communicate directly.

Whats App : +91 -8826510669 Skype : https://join.skype.com/invite/oFsq1b49cLEj

On Thu, Jul 15, 2021 at 12:26 PM Kumar Varma @.***> wrote:

@bassamfouad92 https://github.com/bassamfouad92 Please share me the link of your code so that we can check and integrate it.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/QuickBlox/quickblox-android-sdk/issues/717#issuecomment-880446772, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACDSK2DQV4LMI3EIU2TG5SLTX2BDVANCNFSM4OUL3HBA .

--

Thanks,Deepak Sharma Co-Founder | Director Mentobile Technologies LLP

Mob: +91-882-651-0669

ghost commented 2 years ago

Hello,

This is Nikolay from QuickBlox support.

Please make sure that you followed our documentation: https://docs.quickblox.com/docs/android-video-calling

Also, please check our WebRTC samples: https://docs.quickblox.com/docs/code-samples#video-calling-samples

Please let me know if the issue is still relevant.

ghost commented 2 years ago

The issue is being closed as outdated.

If it is still relevant, feel free to open a new issue.

shaikhTaha97 commented 2 months ago

How should i receive call when i am in background in flutter? is there any clear instructions from Quickblox? I do have to init chat then webrtc and my own view models, load users, alot of things but still not able to receive call. Anyone>