Added necessary dependencies for google sing in, created the google_sign_in provider, modified Info.plist to work with google sign in

This commit is contained in:
Mariano Uvalle 2019-02-26 20:07:53 -06:00
parent f1226aea99
commit e4f74a2c02
4 changed files with 7 additions and 5 deletions

View file

@ -13,7 +13,7 @@
<array>
<!-- TODO Replace this value: -->
<!-- Copied from GoogleServices-Info.plist key REVERSED_CLIENT_ID -->
<string>com.googleusercontent.apps.861823949799-vc35cprkp249096uujjn0vvnmcvjppkn</string>
<string>com.googleusercontent.apps.854370768062-bsmn2u8jngin4g6ior8crnir42t8p9u4</string>
</array>
</dict>
</array>

View file

@ -5,7 +5,7 @@ import './models/task_model.dart';
import './models/user_model.dart';
import './resources/firestore_provider.dart';
/* class App extends StatelessWidget {
class App extends StatelessWidget {
Widget build(BuildContext context) {
return MaterialApp(
title: 'Do more',
@ -18,9 +18,9 @@ import './resources/firestore_provider.dart';
),
);
}
} */
}
class App extends StatelessWidget {
/* class App extends StatelessWidget {
Widget build(BuildContext context) {
final fire = FirestoreProvider();
return MaterialApp(
@ -86,4 +86,4 @@ class App extends StatelessWidget {
),
);
}
}
} */

View file

@ -0,0 +1 @@
import 'package:firebase_auth/firebase_auth.dart';

View file

@ -29,6 +29,7 @@ dependencies:
firebase_auth: ^0.8.1
firebase_ml_vision: ^0.6.0
firebase_storage: ^2.0.1
google_sign_in: ^4.0.1+1
dev_dependencies:
flutter_test: