TF-1487 Upgrade latest dependencies version for core module
(cherry picked from commit 717b72de65503ee65c9979db9a5b319bfbb11a48)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user