feat : app version check in splash
This commit is contained in:
@@ -28,6 +28,7 @@ export 'package:image_picker/image_picker.dart';
|
||||
|
||||
//Map and location
|
||||
export 'package:latlong2/latlong.dart';
|
||||
export 'package:package_info_plus/package_info_plus.dart';
|
||||
export 'package:path_provider/path_provider.dart';
|
||||
export 'package:permission_handler/permission_handler.dart' hide ServiceStatus;
|
||||
export 'package:persian_datetime_picker/persian_datetime_picker.dart';
|
||||
|
||||
@@ -37,4 +37,6 @@ extension XString on String {
|
||||
final dateTime = DateTime.parse(this);
|
||||
return Jalali.fromDateTime(dateTime);
|
||||
}
|
||||
|
||||
int get versionNumber => int.parse(replaceAll(".",''));
|
||||
}
|
||||
@@ -917,6 +917,22 @@ packages:
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "2.2.0"
|
||||
package_info_plus:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: package_info_plus
|
||||
sha256: "7976bfe4c583170d6cdc7077e3237560b364149fcd268b5f53d95a991963b191"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "8.3.0"
|
||||
package_info_plus_platform_interface:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: package_info_plus_platform_interface
|
||||
sha256: "6c935fb612dff8e3cc9632c2b301720c77450a126114126ffaafe28d2e87956c"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "3.2.0"
|
||||
path:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
||||
@@ -14,6 +14,7 @@ dependencies:
|
||||
|
||||
#utils
|
||||
device_info_plus: ^11.4.0
|
||||
package_info_plus: ^8.3.0
|
||||
|
||||
##image_picker
|
||||
image_picker: ^1.1.2
|
||||
|
||||
Reference in New Issue
Block a user