Thanks in advanced, I am using imsdroid library in my app. calling feature work fine, but i am unable to receive call when app is closed.When I minimize application it works but when i clear application from recent app it can't receive call. What is solution for this issue, please help me out. or provide some reference links.
Asked
Active
Viewed 586 times
0
-
You will need to create and keep a background service running to be able to receive calls when the app is closed. Because when an app is closed it is closed. Your code is parked. – Viral Patel Dec 19 '15 at 14:47
-
I am also aware of this, but i am talking about imsdroid library. in it, we will not handle the session on background. – sumit singh Dec 19 '15 at 14:52
2 Answers
0
According to me, IMSdroid does not provide this functionality. You have to open your application while dealing with them. I got same issue:

Nik
- 1,991
- 2
- 13
- 30
0
finally resolved it with some customization. @nik u r right. it is not possible to keep registered all the time.in that case u have to notify the second person when first client tries to make him a call ,and when second client will get notification, then fire a broadcast to start the NativeService. this will register the device. and finally u will get the incoming call.

sumit singh
- 588
- 1
- 5
- 20