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

cancelLocalInvitation2 crashing #68

Open
ravirajw opened this issue May 23, 2022 · 0 comments
Open

cancelLocalInvitation2 crashing #68

ravirajw opened this issue May 23, 2022 · 0 comments

Comments

@ravirajw
Copy link

ravirajw commented May 23, 2022

I have a modal popup -
On that, I have a cancel call button -
When tapping on it - the following code is executed - and the app crashes

this.client.cancelLocalInvitationV2(this.localInvitation);

attempt to invoke interface method 'void.io.agora.rtm.localInvitation.setcontent(java.lang.string)' on a null object reference

FYI - the app does not crash when localInvitation is not yet accepted by the callee.
But crashes when I try to cancel localInvitation after callee has accepted the remote invitation.

Basically what I want is -

  1. Caller sends a local invitation to the callee
  2. Callee accepts the call
  3. Caller then tries to end the call through custom UI and cancelLocalInvitationV2
  4. Callee should get notification/callback that caller has ended the call.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant