v1.0.9
This commit is contained in:
parent
d086fc1f36
commit
895fe0d022
@ -1,5 +1,8 @@
|
||||
Workout Test and Diet 4 You Common Util Functions
|
||||
|
||||
Version 1.0.9
|
||||
Firebase web config
|
||||
|
||||
Version 1.0.8
|
||||
mombership model error fix
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
import 'dart:math' as math;
|
||||
import 'dart:convert';
|
||||
import 'package:crypto/crypto.dart';
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:workouttest_util/model/cache.dart';
|
||||
import 'package:workouttest_util/util/logging.dart' as logger;
|
||||
import 'package:sentry_flutter/sentry_flutter.dart';
|
||||
@ -34,7 +35,21 @@ class FirebaseApi with logger.Logging {
|
||||
Future<void> initializeFlutterFire() async {
|
||||
try {
|
||||
// Wait for Firebase to initialize and set `_initialized` state to true
|
||||
if (kIsWeb) {
|
||||
await Firebase.initializeApp(
|
||||
options: const FirebaseOptions(
|
||||
apiKey: "AIzaSyBLn7Bz73Z1hB-OhqphBDsskOyGmpI7J8E",
|
||||
authDomain: "diet4you-cb540.firebaseapp.com",
|
||||
projectId: "diet4you-cb540",
|
||||
storageBucket: "diet4you-cb540.appspot.com",
|
||||
messagingSenderId: "534189506381",
|
||||
appId: "1:534189506381:web:e885436c9be71ab4998104",
|
||||
measurementId: "G-9YY4B98J99"
|
||||
),
|
||||
);
|
||||
} else {
|
||||
await Firebase.initializeApp();
|
||||
}
|
||||
|
||||
appleSignInAvailable = await SignInWithApple.isAvailable();
|
||||
|
||||
|
@ -13,9 +13,9 @@ dependencies:
|
||||
|
||||
crypto: ^3.0.2
|
||||
|
||||
firebase_auth: ^4.2.5
|
||||
firebase_auth: ^4.2.9
|
||||
firebase_analytics: ^10.1.0
|
||||
firebase_core: ^2.5.0
|
||||
firebase_core: ^2.7.0
|
||||
firebase_messaging: ^14.2.1
|
||||
firebase_remote_config: ^3.0.9
|
||||
flutter_facebook_auth: ^5.0.7
|
||||
|
Loading…
Reference in New Issue
Block a user