step 4 : setting google sign di platform web
This commit is contained in:
@@ -5,9 +5,9 @@ class Constant {
|
||||
// static double designWidth = 1440;
|
||||
|
||||
// base url graphql
|
||||
// static String baseURLGraphQl = "http://devone.aplikasi.web.id:3300/query";
|
||||
static String baseURLGraphQl = "http://devone.aplikasi.web.id:3300/query";
|
||||
|
||||
static String baseURLGraphQl = "http://localhost:8080/query";
|
||||
// static String baseURLGraphQl = "http://localhost:8080/query";
|
||||
|
||||
static String bearerName = "absensi-sas";
|
||||
static String accountGoogle = "absensi-google-account";
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
import 'package:google_sign_in/google_sign_in.dart';
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
|
||||
const String googleClientID = "856240587825-klh0dfjc44bovajg1rpq5vbvs4g7rh5j.apps.googleusercontent.com";
|
||||
|
||||
final googleSignInProvider = StateProvider<GoogleSignIn>((ref) {
|
||||
return GoogleSignIn(
|
||||
clientId: googleClientID,
|
||||
scopes: [
|
||||
'email',
|
||||
'https://www.googleapis.com/auth/contacts.readonly',
|
||||
|
||||
Reference in New Issue
Block a user