Update dependencies

This commit is contained in:
Igor Kulikov
2022-09-02 16:06:15 +03:00
parent 82b1577748
commit b94f32779d
3 changed files with 58 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
import 'dart:async';
import 'package:universal_platform/universal_platform.dart';
import 'package:device_info/device_info.dart';
import 'package:device_info_plus/device_info_plus.dart';
import 'package:fluro/fluro.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
@@ -371,7 +371,7 @@ class TbContext {
bool isPhysicalDevice() {
if (UniversalPlatform.isAndroid) {
return _androidInfo!.isPhysicalDevice;
return _androidInfo!.isPhysicalDevice == true;
} else if (UniversalPlatform.isIOS) {
return _iosInfo!.isPhysicalDevice;
} else {

View File

@@ -127,20 +127,48 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "2.4.2"
device_info:
device_info_plus:
dependency: "direct main"
description:
name: device_info
name: device_info_plus
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.3"
device_info_platform_interface:
version: "4.1.2"
device_info_plus_linux:
dependency: transitive
description:
name: device_info_platform_interface
name: device_info_plus_linux
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.1"
version: "3.0.0"
device_info_plus_macos:
dependency: transitive
description:
name: device_info_plus_macos
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.0"
device_info_plus_platform_interface:
dependency: transitive
description:
name: device_info_plus_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.0"
device_info_plus_web:
dependency: transitive
description:
name: device_info_plus_web
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.0"
device_info_plus_windows:
dependency: transitive
description:
name: device_info_plus_windows
url: "https://pub.dartlang.org"
source: hosted
version: "4.0.0"
dio:
dependency: transitive
description:
@@ -162,6 +190,20 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.1"
ffi:
dependency: transitive
description:
name: ffi
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.1"
file:
dependency: transitive
description:
name: file
url: "https://pub.dartlang.org"
source: hosted
version: "6.1.4"
fluro:
dependency: "direct main"
description:
@@ -695,6 +737,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "2.2.0"
win32:
dependency: transitive
description:
name: win32
url: "https://pub.dartlang.org"
source: hosted
version: "2.7.0"
xml:
dependency: transitive
description:

View File

@@ -37,7 +37,7 @@ dependencies:
mime: ^1.0.0
logger: ^1.0.0
qr_code_scanner: ^1.0.0
device_info: ^2.0.0
device_info_plus: ^4.1.2
geolocator: ^9.0.1
material_design_icons_flutter: ^5.0.5955-rc.1
package_info: ^2.0.2