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

background music #14

Open
silverlona opened this issue Aug 28, 2024 · 5 comments
Open

background music #14

silverlona opened this issue Aug 28, 2024 · 5 comments

Comments

@silverlona
Copy link

Hi, I use the metronome to mark the pace in a training app. However, I want background music and I can't get the metronome to work with for example spotify playing music at the same time. Is this possible or something that can be fixed in the next version?

I can off course write my own code for this but the metronome works great except for this issue described above! I don't see that it would be a negative thing to enable this feature. Thanks for a great package!

best regards

silverlona

@biner88
Copy link
Owner

biner88 commented Aug 28, 2024

Can IOS and Android not play Spotify at the same time?

@silverlona
Copy link
Author

exactly, Spotify stop when I start the app. if I comment out all the metronome code it works fine. I also use the flutter_tts package in this app and flutter_tts works fine with my app and Spotify.

@silverlona
Copy link
Author

by the way, I only use IOS at this stage so I have not tried with Android yet!

@biner88
Copy link
Owner

biner88 commented Aug 28, 2024

Add enableSession: false in init and try.

@silverlona
Copy link
Author

ok, great, thanks! it works! I did see enableSession in the definition but I did not connect it to my issue! once again thanks for you super fast response! all the best /silverlona

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