Google one tap sign in - Flutter Google One Tap Sign In (Android)

Overview

Screenshoot

Google One Tap Sign In

Google One Tap Sign In (Android)

A Flutter Plugin for Google One Tap Sign In

Getting Started

To access Google Sign-In, you'll need to make sure to register your application.

  • Add to your pubspec.yaml

    dependencies:  
      google_one_tap_sign_in: [any]
    
  • Add Google Service

    classpath 'com.google.gms:google-services:[x.x.x]'
    
  • Import plugin

    import 'package:google_one_tap_sign_in/google_one_tap_sign_in.dart';
    
  • Handle Method

    // Your Web Client Id  
    final String _webClientId = "[XXXXXXXXXXX]";
    void _onSignIn() async {
        var data = await GoogleOneTapSignIn.startSignIn(webClientId: _webClientId);
        if (data != null) {
          // Whatever you do with [SignInResult] data
          print("Id Token : ${data.idToken ?? "-"}");
          print("ID : ${data.id ?? "-"}");
        }
    }
    

Example

Find the example wiring in the Google One Tap Sign In

You might also like...
An android app make a one-stop solution for finding the desired reading or research partner, sell their own products, and also be a tutor
An android app make a one-stop solution for finding the desired reading or research partner, sell their own products, and also be a tutor

The purpose of this project is to make a one-stop solution for finding the desired reading or research partner, sell their own products, and also be a tutor.

An Android app for Dokuz Eylul University students can make use of multiple school websites in this one app
An Android app for Dokuz Eylul University students can make use of multiple school websites in this one app

An Android app for Dokuz Eylul University students can make use of multiple school websites in this one app

One UI libraries for Android apps.
One UI libraries for Android apps.

⚠️ W.I.P. For Wear OS, please look at seslw. This repo contains a collection of the libraries used by Samsung in their One UI apps. Samsung's One UI a

jtx Board allows you to manage your Journals (like meeting minutes), Notes and Tasks in one Android app. The app is compatible with the iCal standard (RFC5545) and is integrated with DAVx5 to allow the synchronisation of entries through CalDAV. An app that is a one-stop destination for all the CS enthusiasts, providing resources like Information scrapping techniques, best YT channels, courses available free-of-cost, etc.  & knowledge about every domain and field that exists on the Internet related to Computer Science along with News, Jobs, and Internships opportunities in these domains along with valuable tips and hacks from mentors for a particular domain.
An app that is a one-stop destination for all the CS enthusiasts, providing resources like Information scrapping techniques, best YT channels, courses available free-of-cost, etc. & knowledge about every domain and field that exists on the Internet related to Computer Science along with News, Jobs, and Internships opportunities in these domains along with valuable tips and hacks from mentors for a particular domain.

An app that is a one-stop destination for all the CS enthusiasts, providing resources like Information scrapping techniques, best YT channels, courses available free-of-cost, etc. & knowledge about every domain and field that exists on the Internet related to Computer Science along with News, Jobs, and Internships opportunities in these domains along with valuable tips and hacks from mentors for a particular domain.

An Open Source App which enables users to drop all their professional handles and projects at one place.
An Open Source App which enables users to drop all their professional handles and projects at one place.

An Open Source App which enables users to drop all their professional handles and projects at one place. This is a Beginner Friendly Repository made for Open Source Enthusiasts who can contribute to the App during HacktoberFest 2021.

ComicsShow app: Display comics and search for any favourites one

ComicsShow app: Display comics and search for any favourites one. Technologies used: Koin: For injecting class and providing modules on runtime :). Vi

Latihan One Time, Repeating, dan Membatalkan AlarmManager

Latihan-Background-Process-dan-Networking-6 Latihan One Time AlarmManager Kali ini kita akan membuat sebuah proyek sederhana dengan skenario seperti b

Firefox Focus: The privacy browser - Browse like no one’s watching.
Firefox Focus: The privacy browser - Browse like no one’s watching.

Firefox Focus for Android Browse like no one’s watching. The new Firefox Focus automatically blocks a wide range of online trackers — from the moment

Comments
  • Req Code: 14081996

    Req Code: 14081996

    Hi, I am deploying the package to my flutter project and I have the following message in the console. The general configuration has already been done.

    D/---DAEWU14---(10131): Req Code : 14081996 D/---DAEWU14---(10131): ~~~~ !! ONE TAP ApiException !! ~~~~

    opened by DevLuker 0
  • google_one_tap_sign_in.dart:4:8: Error: Not found: 'dart:ffi'

    google_one_tap_sign_in.dart:4:8: Error: Not found: 'dart:ffi'

    Package version: google_sign_in_web 0.10.1

    Problem: When I try to run my flutter web app, I get the following error:

    ../../flutter/.pub-cache/hosted/pub.dartlang.org/google_one_tap_sign_in-1.0.3/lib/google_one_tap_sign_in.dart:4:8: Error: Not found: 'dart:ffi'
    import 'dart:ffi';
           ^
    Waiting for connection from debug service on Chrome...            152.1s
    Failed to compile application.
    

    Even though pub.dev says the package doesn't support flutter web, it looks like from the package ChangeLog that flutter web has been supported since version 1.0.0 (because it supports web Client Ids).

    I tried running:

    • flutter clean
    • flutter packages get
    • flutter pub add ffi

    and none of the above worked.

    Any ideas/thoughts? Thanks in advance :)

    opened by ToddHerron 0
Owner
null
Register-Yourself - This app uses SQLite database to sign-up and register a user

Register-Yourself This Android app uses SQLite database to sign-up and register a user. Short description This is a basic application where a user sig

Vaibhav Khulbe 2 Jul 16, 2021
Provides feign request interceptors to sign http requests using AWS Signature V4.

feign-aws-sigv4 Provides feign request interceptors to sign http requests using AWS Signature V4. Usage with SDK V1 Include the following dependency i

Tommy Schmidt 2 Nov 11, 2022
The easy way to use biometric authentication in your Flutter app. Supports Fingerprint, FaceID and Iris.

BiometricX The easy way to use biometric authentication in your Flutter app. Supports Fingerprint, FaceID and Iris. Demo APK. Starting $ flutter pub a

Salman S 13 Dec 15, 2022
GitTouch - An built with Flutter open-source app for GitHub, GitLab, Bitbucket, Gitea and Gitee(码云),

GitTouch - An built with Flutter open-source app for GitHub, GitLab, Bitbucket, Gitea and Gitee(码云)

GitTouch 1.3k Jan 8, 2023
Tesla App Clone built in Kotlin, using Compose. The project was initially designed by Clinton using Flutter.

Tesla Tesla App Clone built in Kotlin, using Compose. The project was initially designed by Clinton using Flutter. We are keeping this repo as a singl

Juma Allan 4 Oct 4, 2022
All news in one place - one application

nuntiumNewsApp Nuntium | Daily News App Nuntuim news app is a personalised news aggregator that organises and highlights what’s happening in the world

Ro'ziboyev Ismoil 1 Dec 3, 2021
You can store all your password, bank details, card details in one place and remember only one master PIN. The application works totally offline.

Keep Password An application where you can store all your password, bank details, card details in one place and remember only one master PIN. The appl

rıdvan 4 Apr 18, 2022
xCloud player for Google Chromecast with Google TV

XCTV Player An awesome Microsoft xCloud player for Google Chromecast with Google

Keith Baker 41 Dec 27, 2022
Xctvplayer - xCloud player for Google Chromecast with Google TV

XCTV Player An awesome Microsoft xCloud player for Google Chromecast with Google

Keith Baker 41 Dec 27, 2022
This application uses Google Play Services Vision library to scan barcodes. It uses Google's on device ML kit to scan for barcodes.

Barcode-Scanner This application showcases use of Google Play Services Vision library It uses Google's on device machine learning kit to scan for barc

Soumik 2 Apr 28, 2022