step 16 : get user location google map, refresh location google map absen selfie dan absen normal (bukan selfie)
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import 'package:google_sign_in/google_sign_in.dart';
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
|
||||
const String googleClientID = "856240587825-klh0dfjc44bovajg1rpq5vbvs4g7rh5j.apps.googleusercontent.com";
|
||||
const String googleClientID =
|
||||
"856240587825-klh0dfjc44bovajg1rpq5vbvs4g7rh5j.apps.googleusercontent.com";
|
||||
|
||||
final googleSignInProvider = StateProvider<GoogleSignIn>((ref) {
|
||||
return GoogleSignIn(
|
||||
@@ -13,6 +14,10 @@ final googleSignInProvider = StateProvider<GoogleSignIn>((ref) {
|
||||
);
|
||||
});
|
||||
|
||||
final currentUserGoogleProvider = StateProvider<GoogleSignInAccount?>((ref) => null);
|
||||
final currentUserGoogleProvider =
|
||||
StateProvider<GoogleSignInAccount?>((ref) => null);
|
||||
|
||||
final isNotifyFromLogout = StateProvider<bool>((ref) => false);
|
||||
final isNotifyFromLogout = StateProvider<bool>((ref) => false);
|
||||
|
||||
final currentLatitudeProvider = StateProvider<double>((ref) => 0.0);
|
||||
final currentLongitudeProvider = StateProvider<double>((ref) => 0.0);
|
||||
|
||||
Reference in New Issue
Block a user