QuickBlox / q-municate-android

Qmunicate Android chat application
MIT License
254 stars 197 forks source link

How to get Background Incoming call in Android Q-Municate #252

Closed roma50 closed 1 year ago

roma50 commented 7 years ago

I modified Q-Municate. But, in the background we just receive call notification like (ABC is calling you); instead of call screen directly in background and during locked screen.

When, we click on notification that (ABC is calling you); then it first open the application then it show the incoming call screen.

But, how to show directly incoming call screen when app will be close and phone screen will lock. Please tell me How I can solve the solution of this issue. Thanks

tatanka987 commented 7 years ago

As fast solution you can add starting command QBLoginChatCompositeCommand when call push was received (in class ChatNotificationHelper.java). Additionally for implementation showing call screen on lock screen you need learn Android documentation how to show Activity on lock screen. But pay attention, Q-municate is big project and we need more time for investigating and implementing this feature.

roma50 commented 7 years ago

I already done above solution but not successful unfortunately