I use the google sign in package and when calling the method by pressing the button (code below), the application simply closes without an error. Everything seems to have been done according to the instructions.
GoogleSignIn _googleSignIn = GoogleSignIn(
// Optional clientId
// clientId: '479882132969-9i9aqik3jfjd7qhci1nqf0bm2g71rm1u.apps.googleusercontent.com',
scopes: <String>[
'email',
],
hostedDomain: "",
clientId: "",
);
Future<void> _handleSignIn() async {
try {
await _googleSignIn.signIn();
} catch (error) {
print(error);
}
}
InkWell(
onTap: _handleSignIn,
child: bodyButton(),),
if you run it through xcode, then
Thread 1 writes: "You must specify /ClientID/ in /GIDConfiguration|"
and I don't understand where to write it