TF-1487 Upgrade latest dependencies version for core module

(cherry picked from commit 717b72de65503ee65c9979db9a5b319bfbb11a48)
This commit is contained in:
dab246
2023-02-23 21:44:17 +07:00
committed by Dat Vu
parent 9609e7ee9c
commit 9778a9876a
9 changed files with 330 additions and 290 deletions
+1 -5
View File
@@ -2,7 +2,6 @@ import 'dart:core';
import 'package:device_info_plus/device_info_plus.dart';
class DeviceManager {
final DeviceInfoPlugin _deviceInfoPlugin;
@@ -11,9 +10,6 @@ class DeviceManager {
Future<bool> isNeedRequestStoragePermissionOnAndroid() async {
final androidInfo = await _deviceInfoPlugin.androidInfo;
final sdkInt = androidInfo.version.sdkInt;
if (sdkInt != null) {
return sdkInt <= 28;
}
return false;
return sdkInt <= 28;
}
}