Skip to content
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

Calling api from background when clicking reject button on callkit screen #26

Open
PhuHoaJC opened this issue Dec 8, 2020 · 4 comments
Labels
question Further information is requested

Comments

@PhuHoaJC
Copy link

PhuHoaJC commented Dec 8, 2020

Did you test on release mode?
I don't know why my app enable to call api on debug mode, but for release mode, it does not work
Is there any way to call api once clicking reject button on callkit screen from backgound?

image

@masashi-sutou
Copy link
Owner

@PhuHoaJC

@masashi-sutou masashi-sutou added the question Further information is requested label Dec 10, 2020
@PhuHoaJC
Copy link
Author

i mean
in comming call of callkit screen when i press reject button, i want to call the api from my server to end call
can i call api request from server once click reject button on callkit screen from background? @masashi-sutou
for now, it can't. it just works on forceground

@masashi-sutou
Copy link
Owner

masashi-sutou commented Dec 10, 2020

i mean
in comming call of callkit screen when i press reject button, i want to call the api from my server to end call
can i call api request from server once click reject button on callkit screen from background? @masashi-sutou
for now, it can't. it just works on forceground

  • I have no idea.
  • I think it is better to set a limit of incoming call time(ex: 100 seconds).

@nguyenxuankiet262
Copy link

i mean in comming call of callkit screen when i press reject button, i want to call the api from my server to end call can i call api request from server once click reject button on callkit screen from background? @masashi-sutou for now, it can't. it just works on forceground

I got the same problem. Do you have any solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants