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

Custom ringtone didn't play on iOS and in Android ringtone sound didn't play loud. #158

Open
parthbhensdadiya7 opened this issue Feb 26, 2025 · 5 comments

Comments

@parthbhensdadiya7
Copy link

iOS: The custom ringtone does not play at all when an incoming call is received. The default system sound is used instead.
Android: The custom ringtone plays, but the volume is significantly lower than expected, even when the device volume is set to maximum.

Environment:

Package version: connectycube_flutter_call_kit: ^2.7.0
Flutter version: 3.29.0
Device models and OS versions:
iPhone 11 (iOS 18.0.1)

Set a 30-second custom ringtone (.caf format for iOS, same name used on Android).

Image Image
@CubeRomanMagellan
Copy link
Contributor

Hello, @parthbhensdadiya7. Please have a look at similar issue and pay attention to path where custom ringtone is placed.
For Android it's app_name/android/app/src/main/res/raw/custom_ringtone.mp3 and for iOS path should be Resources/ringtones/custom_ringtone.caf

@parthbhensdadiya7
Copy link
Author

parthbhensdadiya7 commented Feb 27, 2025

@CubeRomanMagellan , I've used the same path: `=Resources/ringtones/custom_ringtone.caf, but instead of playing the custom ringtone, the default ringtone plays. I also tested this in the demo app, and the default ringtone also plays there.

@parthbhensdadiya7
Copy link
Author

@CubeRomanMagellan, Is there any update on this?

@CubeRomanMagellan
Copy link
Contributor

Checked on p2p sample sound is working and the same loud as default. BTW, the volume can be related to the original volume of the file. Also, before set new ringtone recommends totally uninstall application.

@parthbhensdadiya7
Copy link
Author

Okay @CubeRomanMagellan, I'll check this again and let you know if it's working.

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

2 participants