j0j00 / flutter_user_agent

Retrieve Android/iOS device user agents in Flutter.
https://pub.dev/packages/flutter_user_agent
BSD 2-Clause "Simplified" License
25 stars 55 forks source link

App crashes on android only after FlutterUserAgentPlugin.java uses or overrides a deprecated API #20

Open jordantsap opened 3 years ago

jordantsap commented 3 years ago

Installed with flutter_sms: ^2.1.1

flutter doctor -v

[√] Flutter (Channel stable, 1.22.6, on Microsoft Windows [Version 10.0.19042.746], locale el-GR) • Flutter version 1.22.6 at L:\flutter • Framework revision 9b2d32b605 (8 weeks ago), 2021-01-22 14:36:39 -0800 • Engine revision 2f0af37152 • Dart version 2.10.5

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3) • Android SDK at C:\Users\iordanis\AppData\Local\Android\sdk • Platform android-30, build-tools 30.0.3 • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01) • All Android licenses accepted.

[!] Android Studio (version 4.1.0) • Android Studio at C:\Program Files\Android\Android Studio X Flutter plugin not installed; this adds Flutter specific functionality. X Dart plugin not installed; this adds Dart specific functionality. • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code, 64-bit edition (version 1.54.3) • VS Code at C:\Program Files\Microsoft VS Code • Flutter extension version 3.20.0

[√] Connected device (1 available) • SM J510FN (mobile) • 5a01de42 • android-arm • Android 6.0.1 (API 23)

j0j00 commented 3 years ago

A gist upload of the stacktrace of the actual error would be useful.