Skip to content

Add support to stop ringtone and looping ringtone by adding repeatTime #75

Open
MohitChouhan98841 wants to merge 1 commit into
inway:mainfrom
MohitChouhan98841:feature/ios-stop-loop
Open

Add support to stop ringtone and looping ringtone by adding repeatTime #75
MohitChouhan98841 wants to merge 1 commit into
inway:mainfrom
MohitChouhan98841:feature/ios-stop-loop

Conversation

@MohitChouhan98841
Copy link
Copy Markdown

Add stop function for ios and for looping i add repeatTime for sound loop in ios, I just need the stop and loop functionality for ios so i added them.

…loop in ios, as i am developer so i just need the stop and loop functionality for ios so i added then
@SPodjasek SPodjasek added this to the 5.0.0 milestone Jun 3, 2024
@onewilk
Copy link
Copy Markdown

onewilk commented Mar 13, 2025

@MohitChouhan98841
Hello,

I discovered an issue in FlutterRingtonePlayerPlugin.m with the playSound() function that it cannot stop the looping ringtone effectively.

Here is a fixed, working version created by AI:
https://github.com/onewilk/flutter_ringtone_player/blob/fix/repeat/ios/Classes/FlutterRingtonePlayerPlugin.m

I'm not proficient in Objective-C or iOS development, so I'm unsure if there's a better solution to this problem.

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

Successfully merging this pull request may close these issues.

3 participants