-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
Description
Platform
Android 15
Plugin
device_info_plus
Version
11.5.0
Flutter SDK
3.32.8
Steps to reproduce
Just add this package to pubspec.yaml.
Code Sample
Logs
Xiaomi store told me: io.flutter.embedding,io.flutter.plugin tried to get device serial before user accept. However, there is no my code that trying to get device serial. After downgrade the package to old version 10.1.2 without changing any code, everything works fine.
Flutter Doctor
flutter doctor -v
[✓] Flutter (Channel stable, 3.32.8, on macOS 15.5 24F74 darwin-arm64, locale en-US) [4.1s]
• Flutter version 3.32.8 on channel stable at /Users/ganwumeng/Dev/Env/Flutter/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision edada7c56e (5 weeks ago), 2025-07-25 14:08:03 +0000
• Engine revision ef0cd00091
• Dart version 3.8.1
• DevTools version 2.45.1
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [11.6s]
• Android SDK at /Users/ganwumeng/Dev/Env/Android/SDK
• Platform android-35, build-tools 34.0.0
• Java binary at: /Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home/bin/java
This JDK is specified in your Flutter configuration.
To change the current JDK, run: `flutter config --jdk-dir="path/to/jdk"`.
• Java version Java(TM) SE Runtime Environment (build 17.0.8+9-LTS-211)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[✓] Xcode - develop for iOS and macOS (Xcode 16.4) [2.2s]
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 16F6
• CocoaPods version 1.16.2
[✓] Chrome - develop for the web [13ms]
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2024.3) [13ms]
• Android Studio at /Applications/Android Studio.app/Contents
• 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 21.0.6+-13368085-b895.109)
[✓] VS Code (version 1.103.1) [12ms]
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.116.0
[✓] Proxy Configuration [47ms]
• HTTP_PROXY is set
• NO_PROXY is http://127.0.0.1,http://localhost,::1
• NO_PROXY contains localhost
• NO_PROXY contains 127.0.0.1
• NO_PROXY contains ::1
[✓] Connected device (3 available) [10.5s]
• GanwumengPad (wireless) (mobile) • 00008103-000A192A0A6A201E • ios • iOS 26.0 23A5326a
• macOS (desktop) • macos • darwin-arm64 • macOS 15.5 24F74 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 139.0.7258.140
[✓] Network resources [10.4s]
• All expected network resources are available.
! Doctor found issues in 1 category.
Checklist before submitting a bug
- I searched issues in this repository and couldn't find such bug/problem
- I Google'd a solution and I couldn't find it
- I searched on StackOverflow for a solution and I couldn't find it
- I read the README.md file of the plugin
- I'm using the latest version of the plugin
- All dependencies are up to date with
flutter pub upgrade
- I did a
flutter clean
- I tried running the example project