-
Notifications
You must be signed in to change notification settings - Fork 31
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
App crashes on devices with Android 12 #80
Comments
Hope this can resolve any similar issues that others might have. New bluetooth permission for Android 12+ Long term solution : Short term solution (your setup may differ, but the logic would be the same): AndroidManifest.xml
MainApplication.kt
MainActivity.kt
main.dart
|
Please pull latest update it's fixes. |
This issue is still occurring for me with the latest fixes |
@TatsuUkraine @CurtHubb @john-tmc |
@CharmisG if to follow |
@TatsuUkraine @CurtHubb @john-tmc |
@TatsuUkraine @CurtHubb @john-tmc Plugin link: https://pub.dev/packages/permission_handler Thank you !! |
@CharmisG I'm not sure that the issue is in permission handles plugin, reader sdk plugin doesn't uses it |
Do you have a link to an issue that you mentioned? |
Yes Sure |
@CharmisG I still not sure if it has anything to do with permission handler. Please read release notes of android reader sdk https://developer.squareup.com/docs/changelog/mobile-logs/2022-03-30 and then read about these 2 permissions. They are Here you have a working example #80 (comment) |
Describe the issue
Application crashes on startup on Android 12 real devices, while on emulators with the same Android version it works great.
Error log details:
Expected behavior
The application should build successfully
Environment:
[✓] Flutter (Channel stable, 2.8.1, on macOS 12.1 21C52 darwin-arm, locale ru-UA)
• Flutter version 2.8.1 at ...
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 77d935af4d (6 weeks ago), 2021-12-16 08:37:33 -0800
• Engine revision 890a5fca2e
• Dart version 2.15.1
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
• Android SDK at ...
• Platform android-32, build-tools 32.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2020.3)
• 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 11.0.10+0-b96-7249189)
[✓] VS Code (version 1.63.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension can be installed from:
🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (3 available)
• Pixel 4a (mobile) • 15051JEC215525 • android-arm64 • Android 12 (API 31)
• No issues found!
The text was updated successfully, but these errors were encountered: