Skip to content

[Question]: Alarm Manager Plus Not Working on Release App #1077

@bakteribaik

Description

@bakteribaik

What is your question?

so i made an app that uses alarm manager to play audio at a set time. but I just realized that my alarm manager can't run in the release version of the app, but in debug mode the alarm manager runs fine. is there a solution for this problem?

I have followed the instructions from the documentation for the installation

Plugin version : android_alarm_manager_plus: ^2.0.6


flutter doctor -v

[√] Flutter (Channel stable, 3.3.0, on Microsoft Windows [Version 10.0.19042.1889], locale en-ID)
• Flutter version 3.3.0 on channel stable at C:\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ffccd96b62 (3 weeks ago), 2022-08-29 17:28:57 -0700
• Engine revision 5e9e0e0aa8
• Dart version 2.18.0
• DevTools version 2.15.0

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
• Android SDK at D:\ProgramFiles\AndroidSDK
• Platform android-33, build-tools 33.0.0
• Java binary at: D:\ProgramFiles\AndoridStrudio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
• All Android licenses accepted.

[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[!] Visual Studio - develop for Windows (Visual Studio Build Tools 2017 15.9.50)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools
• Visual Studio Build Tools 2017 version 15.9.28307.2094
• Windows 10 SDK version 10.0.17763.0
X Visual Studio 2019 or later is required.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components

[√] Android Studio (version 2021.1)
• Android Studio at D:\ProgramFiles\AndoridStrudio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)

[√] VS Code (version 1.71.2)
• VS Code at C:\Users\root\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.48.0

[√] Connected device (4 available)
• Redmi Note 5 (mobile) • 8c21d01 • android-arm64 • Android 9 (API 28)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19042.1889]
• Chrome (web) • chrome • web-javascript • Google Chrome 105.0.5195.102
• Edge (web) • edge • web-javascript • Microsoft Edge 105.0.1343.33

[√] HTTP Host Availability
• All required HTTP hosts are available

! Doctor found issues in 1 category.

Metadata

Metadata

Assignees

Labels

questionFurther information is requestedtriage

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions