flutter-permission-handler
flutter-permission-handler copied to clipboard
Returned granted when permission is Ask Every Time on Android Tiramisu
🐛 Bug Report
Expected behavior
The "Ask Every Time" option basically means "Ask for permissions every time the user restarts the App" and not "Ask for permissions each time the user starts the camera".
Reproduction steps
1.Make request for camera permission. 2.Click the home button to make app go to background. 3.Again make app foreground by clicking the app icon 4.now click on allow this time. 5.kill the application and relaunch 6.the permission status is granted
Configuration
Version: 1.x C:\Users\manohars\flutter\bin\flutter.bat doctor --verbose [√] Flutter (Channel stable, 3.3.0, on Microsoft Windows [Version 10.0.22621.1105], locale en-IN) • Flutter version 3.3.0 on channel stable at C:\Users\manohars\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision ffccd96b62 (6 months 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.1) • Android SDK at C:\Users\manohars\AppData\Local\Android\sdk • Platform android-33, build-tools 33.0.1 • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) • All Android licenses accepted.
[√] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[X] Visual Studio - develop for Windows X Visual Studio not installed; this is necessary for Windows development. 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.3) • Android Studio at C:\Program Files\Android\Android Studio • 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.13+0-b1751.21-8125866)
[√] Connected device (4 available) • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64 • Android 13 (API 33) (emulator) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22621.1105] • Chrome (web) • chrome • web-javascript • Google Chrome 110.0.5481.104 • Edge (web) • edge • web-javascript • Microsoft Edge 110.0.1587.41
[√] HTTP Host Availability • All required HTTP hosts are available
! Doctor found issues in 1 category. Process finished with exit code 0 Platform:
- [ ] :robot: Android
https://user-images.githubusercontent.com/120722253/220038058-7a05f58f-ee53-49f0-8104-5e3c7a80c280.mp4
Hi @ManoharSQ, thank you for filing a bug report.
I have been able to reproduce this issue on 10.4.3 and will add it to the backlog.
Is there any updates on this? It Still does this behaviour.