-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
After a certain time, I want to turn off audio_service in the background with the android_alarm_manager plugin. #254
Comments
Hi @FatihAydin52 This was discussed in #145 . You can try @rohansohonee 's suggestion:
The step of updating your project to Flutter 1.12 is only relevant if you have a pre-1.12 project structure. Please let me know if this works for you and I'll add the suggestion to the FAQ. |
The mainActivity.java class is below. I also use Application.java file. It didn't work that way. MainActivity.java
Application.java
|
I don't think in the previous times this issue was raised that anyone supplied a minimal reproduction project. Would you be able to do so? Essentially, make a fork of this project, and edit the example in a minimal way to reproduce the error. |
I quickly created a project from scratch and repeated the error. You can reach the project from the link below. https://github.com/FatihAydin52/audio-service-demo |
Thanks! |
Hi @FatihAydin52 I responded (I believe) to you on another issue and it appears to be the same example project. Are these two issues linked? |
Closing due to inactivity. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs, or use StackOverflow if you need help with audio_service. |
After a certain time, I want to turn off audio_service in the background with the android_alarm_manager plugin. How can I solve this problem?
When I try to do this, I get the following error.
My code is as follows.
The text was updated successfully, but these errors were encountered: