From a0ee95cab8b70cbf5a22c115130689773059de69 Mon Sep 17 00:00:00 2001 From: MohammadTaha Basiri Date: Fri, 10 Jun 2022 11:40:34 +0430 Subject: [PATCH] v2.2.1 configs --- .fandogh/fandogh.yaml | 2 +- lib/main.dart | 1 + pubspec.yaml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.fandogh/fandogh.yaml b/.fandogh/fandogh.yaml index 5e6f993..b0cb1ef 100644 --- a/.fandogh/fandogh.yaml +++ b/.fandogh/fandogh.yaml @@ -3,7 +3,7 @@ name: app-test spec: allow_http: false disable_default_domains: true - image: app:2.2.0 + image: app:2.2.1 image_pull_policy: IfNotPresent path: / replicas: 1 diff --git a/lib/main.dart b/lib/main.dart index 4a7e5d6..61f7c5a 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -13,6 +13,7 @@ import 'package:flutter_localizations/flutter_localizations.dart'; import 'package:provider/provider.dart'; void main() async { + WidgetsFlutterBinding.ensureInitialized(); await Firebase.initializeApp(); final initMsg = await FirebaseMessaging.instance.getInitialMessage(); if (initMsg != null) { diff --git a/pubspec.yaml b/pubspec.yaml index 236e87e..aa3ab41 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: 2.2.0+18 +version: 2.2.1+19 environment: sdk: ">=2.17.0 <3.0.0"