From 01d031231037401c8ad032a8649233ad1f9bc167 Mon Sep 17 00:00:00 2001 From: MohammadTaha Basiri Date: Thu, 31 Mar 2022 00:00:55 +0430 Subject: [PATCH] version upgrade --- lib/providers/user_provider.dart | 1 + lib/views/home/settings/settings.dart | 2 +- pubspec.yaml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/providers/user_provider.dart b/lib/providers/user_provider.dart index ab694ac..413d11f 100644 --- a/lib/providers/user_provider.dart +++ b/lib/providers/user_provider.dart @@ -46,6 +46,7 @@ class UserProvider extends CoreProvier { final service = RequestService(RequestHelper.firebaseToken, body: { 'firebaseToken': AppInitializer.fcmToken, }); + await service.put(); } diff --git a/lib/views/home/settings/settings.dart b/lib/views/home/settings/settings.dart index 63c4439..993cabc 100644 --- a/lib/views/home/settings/settings.dart +++ b/lib/views/home/settings/settings.dart @@ -108,7 +108,7 @@ class Settings extends StatelessWidget { ), const SizedBox(height: 16), DidvanText( - 'نسخه نرم‌افزار: 1.1.4', + 'نسخه نرم‌افزار: 1.5.0', style: Theme.of(context).textTheme.caption, ), ], diff --git a/pubspec.yaml b/pubspec.yaml index 7fc57f2..4f32cce 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 1.5.0+6 +version: 1.5.0+10 environment: sdk: ">=2.12.0 <3.0.0"