Git Product home page Git Product logo

google_signin_without_firebase's Introduction

google_signin_without_firebase

GitHub code size in bytes GitHub repo size GitHub repo file count GitHub language count GitHub top language total opem issues GitHub forks GitHub Repo stars

This is a feature implementation for Google sign-in in your Flutter application without using Firebase

This application includes:

  1. Google Sign-in, Sign-out.
  2. access to the user's public details on the screen.

๐Ÿ“ธ ScreenShots

๐ŸŽฅ Screen Recording of Application

๐Ÿ“ฑ [.apk] file link

googledrive

๐Ÿ”‘ License

  • This project is licensed under the MIT License - see the LICENSE file for details

๐Ÿ”ง Steps for Installation

go to google-cloud-console-->create-a-project-->OAuth consent screen-->external-->complete your app registration.

Now navigate to credentials, then click on create credentials and select OAuth Client ID:

  • Create OAuth Client Id by filling in the details.

  • it will require an SHA-1 certificate fingerprint and package name:

    • to get SHA-1 certificate fingerprint-->
      • Open your Flutter project's root directory.
      • Open cmd or PowerShell
      • and run command
      cd android
      ./gradlew signingReport
    • to get package name-->
      • go to build.gradle and check your package name.
  • complete your credentials creation after filling it with details above.

Go to URL โ€” https://docs.flutter.dev/deployment/android and follow instructions for Create an upload keystore.

  • Run the command given over there as per your os anywhere on the desktop and it will create .jks file.
  • moves this file to, android --> app of the flutter project directory.
  • update build.gradle file by adding the below code under the Android section:
  signingConfigs{
     debug{
         keyAlias 'androiddebugkey'
         keyPassword yourpassword'
         storeFile file('upload-keystore.jks')
         storePassword 'yourpassword'
     }
 }

 buildTypes {
    debug {
         signingConfig signingConfigs.debug
     }
     release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, 
// so `flutter run --release` works.
         signingConfig signingConfigs.debug
     }
 }

open your command prompt & go to the directory where you want to create your flutter project.

run following command:

       git clone https://github.com/akashmishra242/flutter_onesignal_push_notification.git   #to fork this flutter project
       cd .\flutter_onesignal_push_notification\                                             #navigate to the woking directory
       code .                                                                                #open your vs code

now to run the app, run the following command in VS Code Terminal(flutter):

        flutter pub get   #to install and update packages & dependencies.
        flutter run       #to run the flutter app
  

That's all, it should work fine.๐Ÿคž


๐ŸŒ Connect with me

Give your feedback at [email protected]

linkedin github twitter angel instagram

google_signin_without_firebase's People

Contributors

akashmishra242 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.