Baseflow / flutter-permission-handler

Permission plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API to request and check permissions.
https://baseflow.com
MIT License
1.97k stars 799 forks source link

Permission.backgroundRefresh.status not available anymore #1315

Closed nicolasvahidzein closed 3 weeks ago

nicolasvahidzein commented 3 weeks ago

Please check the following before submitting a new issue.

Please select affected platform(s)

Steps to reproduce

call Permission.backgroundRefresh.status

Expected results

it should be available

Actual results

not available

Code sample

Code sample ```dart [Paste your code here] ```

Screenshots or video

Screenshots or video demonstration [Upload media here]

Version

11.0.1

Flutter Doctor output

Doctor output ```console C:\Users\Nicolas Zein>flutter doctor -v [√] Flutter (Channel stable, 3.16.0, on Microsoft Windows [Version 10.0.10586], locale en-US) • Flutter version 3.16.0 on channel stable at C:\Flutter\live • Upstream repository https://github.com/flutter/flutter.git • Framework revision db7ef5bf9f (6 months ago), 2023-11-15 11:25:44 -0800 • Engine revision 74d16627b9 • Dart version 3.2.0 • DevTools version 2.28.2 [√] Windows Version (Installed version of Windows is version 10 or higher) [√] Android toolchain - develop for Android devices (Android SDK version 30.0.3) • Android SDK at C:\Android\SDK • Platform android-34, build-tools 30.0.3 • ANDROID_HOME = C:\Android\SDK • Java binary at: C:\Program Files\Android\Android Studio2\jbr\bin\java • Java version OpenJDK Runtime Environment (build 17.0.7+0-b2043.56-10550314) • All Android licenses accepted. [√] Chrome - develop for the web • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe [X] Visual Studio - develop Windows apps X Visual Studio not installed; this is necessary to develop Windows apps. 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 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.11+9-b60-7590822) [√] Android Studio (version 2023.1) • Android Studio at C:\Program Files\Android\Android Studio2 • 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 17.0.7+0-b2043.56-10550314) [√] VS Code (version 1.88.1) • VS Code at C:\Users\Nicolas Zein\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.46.0 [√] VS Code (version 1.71.0-insider) • VS Code at C:\Users\Nicolas Zein\AppData\Local\Programs\Microsoft VS Code Insiders • Flutter extension version 3.44.0 [√] Connected device (3 available) • SM M305F (mobile) • 5200c783423086e7 • android-arm64 • Android 10 (API 29) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.10586] • Chrome (web) • chrome • web-javascript • Google Chrome 123.0.6312.107 [√] Network resources • All expected network resources are available. ! Doctor found issues in 1 category. ```
nicolasvahidzein commented 3 weeks ago

My apologies, it is in version 11.3.1. I updated and all is good. Cheers.