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

Facing issues in android release mode callkit. #607

Open
MoazzamAliSE opened this issue Nov 30, 2024 · 1 comment
Open

Facing issues in android release mode callkit. #607

MoazzamAliSE opened this issue Nov 30, 2024 · 1 comment

Comments

@MoazzamAliSE
Copy link

Hi @hiennguyen92
How are you
Thank you for this callkit package, I Know it is very crucial to handle such a big package.

I'm facing some issues please guide me about these...

  1. The ringtone is not working in release mode, even though I added a custom audio sound for it. both custom and system ringtones works fine in debug mode, but not in release mode.
  2. The call screen does not disappear when one person ends the call in release mode.
  3. Sometimes, the call notification doesn’t disappear in release mode.
  4. facing this exception when triggering endAllCalls() PlatformException(error, Internal error: TypeReference constructed without actual type information, , null) release mode issue.
@MoazzamAliSE
Copy link
Author

MoazzamAliSE commented Nov 30, 2024

I’ve completed most of the configurations. However, I need some assistance with how to implement two key methods on the Kotlin side:

FlutterCallkitIncomingPlugin.getInstance().sendEventCustom(body: Map<String, Any>): How should I pass the data from Kotlin? Can you guide me on how to structure the body parameter for this method?

FlutterCallkitIncomingPlugin.getInstance().showIncomingNotification(...): How can I show the incoming call notification in Kotlin? I need guidance on what parameters should be passed and how to implement this.

I would greatly appreciate your assistance in understanding where these methods should be placed in the Kotlin code and how to properly format the data for the above functions or please update the readme so that everyone will get assistance.

Thank you for your time and support!

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