Skip to content
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

[Bug]: Incompatibility with safe_device package. App doesnt start on Android #1576

Open
3 of 8 tasks
MelissaMashiro opened this issue Sep 25, 2024 · 0 comments
Open
3 of 8 tasks

Comments

@MelissaMashiro
Copy link

MelissaMashiro commented Sep 25, 2024

Please check the following before submitting a new issue.

Please select affected platform(s)

  • Android
  • iOS
  • Linux
  • macOS
  • Web
  • Windows

Steps to reproduce

  1. Add safe_device: ^1.1.8 and geolocator: ^13.0.1 in your pubspect.yaml
  2. Run the App on Android devices

Expected results

App should load correctly.

Actual results

App gets stuck when starts loading the UI

Code sample

console is showing the message "The application may be doing too much work on its main thread."

Screenshots or video

Screenshots or video demonstration

[Upload media here]

Version

13.0.1

Flutter Doctor output

Doctor output
[✓] Flutter (Channel stable, 3.24.3, on macOS 14.6.1 23G93 darwin-arm64, locale es-ES)
    • Flutter version 3.24.3 on channel stable at /Users/vn575xg/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2663184aa7 (2 weeks ago), 2024-09-11 16:27:48 -0500
    • Engine revision 36335019a8
    • Dart version 3.5.3
    • DevTools version 2.37.3

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/vn575xg/Library/Android/sdk
    • Platform android-34-ext11, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.2)
    • 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 17.0.9+0-17.0.9b1087.7-11185874)

[✓] VS Code (version 1.93.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.96.0

[✓] Connected device (6 available)
    • SM A525M (mobile)               • R58RB4RWNAA                          • android-arm64  •
      Android 14 (API 34)
    • Melissa’s iPhone (mobile)       • 00008130-001C61402E62001C            • ios            • iOS
      17.6.1 21G93
    • iPhone 15 (mobile)              • 44299459-1A3E-4D7B-81C6-1F71A89C2B34 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-17-4 (simulator)
    • macOS (desktop)                 • macos                                • darwin-arm64   •
      macOS 14.6.1 23G93 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad                • darwin         •
      macOS 14.6.1 23G93 darwin-arm64
    • Chrome (web)                    • chrome                               • web-javascript •
      Google Chrome 126.0.6478.57

[✓] Network resources
    • All expected network resources are available.

• No issues found!
@MelissaMashiro MelissaMashiro changed the title [Bug]: Incompatibility with safe_device package. UI gets stuck on Android [Bug]: Incompatibility with safe_device package. App doesnt start on Android Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant