Generate SHA 1 Key In Flutter On Windows and macOS | Flutter 2.5 (Latest)

Опубликовано: 07 Октябрь 2024
на канале: Backslash Flutter
34,964
602

Generate SHA 1 Key In Flutter On Windows and macOS | Flutter 2.5 (Latest)
In this tutorial, we will be generating the SHA 1 and SHA 256 Key in both macOS and Windows OS for the latest Flutter 2.5 version. Many people face issues in generating the SHA 1 key in their macOS and Windows operating system, and so I thought of creating a complete tutorial that will help people from any kind of OS platform.

We have followed both the steps of creating the signature, like:
1. Using the terminal command.
2. Using the Android Studio method.


🔑 SHA-1 is required when you are linking your flutter application to firebase, and also this is required for google to create an OAuth client for our application.

IMPORTANT COMMANDS:
❇️ WINDOWS:

1. For creating the keystore file i.e., debug.keystore

keytool -genkey -v -keystore debug.keystore -alias androiddebugkey -storepass android -keypass android -keyalg RSA -keysize 2048 -validity 10000

2. For viewing the SHA-1 key from the keystore file that we created

keytool -list -v -keystore "C:\Users\Shivansh Singh["Replace with your uername"]\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android

❇️ macOS

1. For creating the keystore file

keytool -genkey -v -keystore debug.keystore -storepass android -alias androiddebugkey -keypass android -keyalg RSA -keysize 2048 -validity 10000

2. For generating the SHA-1 key

keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android


JAVA SE 8 : https://www.oracle.com/java/technolog...



🤞 You will be learning :
1. How to Install JAVA JDK on your macOS and Windows OS
2. How to create keystore using Keytool command.
3. Using Flutter Doctor to solve all the issues.
4. Accepting the Android Licenses.



Course Content 📚
00:00 Introduction
00:35 SHA-1 Key on Windows
00:40 Windows: PreRequisite for Creating the key
01:45 Windows: Terminal Method For SHA-1 Key
04:40 Windows: Android Studio method for Creating Key
05:36 SHA-1 Key on macOS



► ALSO LEARN TO INTEGRATE GOOGLE and FACEBOOK SIGN IN TO YOUR APPS:
📗 Complete Google and Facebook Login In Flutter | Flutter & Firebase Authentication 2021 (Part 1)
   • Complete Google and Facebook Login In...  
📗 Facebook Login In Flutter | Flutter & Firebase Authentication For Beginners 2021 (Part 2)
   • Facebook Login In Flutter | Flutter &...  



🔔 Get updated with my projects🔔
Follow me on Github: github.com/backslashflutter


#sha-1key #flutter #backslashflutter
​


🔥 Subscribe for more:
   / backslashflutter  


If this helps make sure to share it with friends and colleagues who will benefit from this


Have questions/queries? 💬 Comment below I will be happy to help


►For the 3D intro, I'm using Rotato: rotato.xyz




🎵Credits :
Music Used:
JARICO - LANDSCAPE    • Video  
softy x no one’s perfect - The Beauty Around Us ✨ [lofi hip hop/relaxing beats]


Reddit Username : @backslashflutter


🔗OTHER:
PLAYLIST:
1. FLUTTER AND FIREBASE
LINK :https://bit.ly/35Uq7Ba​
2. FLUTTER SPEEDCODE
LINK: https://bit.ly/3sFDy1O




OTHER VIDEO:
Complete Flutter Installation & Setup Tutorial For App Development on MacOS (Latest)
   • Complete Flutter Installation & Setup...  


Learn API Integration in Flutter | Building A Dictionary App with OwlBot API | (Under 20 Minute)
   • Learn API Integration in Flutter | Bu...  


ChatBot App In Flutter | Python Backend With Flutter | Heroku Server (Full Explanation)
   • ChatBot App In Flutter | Python Backe...  


About Flutter:
Flutter is an open-source UI software development kit created by Google. It is used to develop cross platform applications for Android, iOS, Linux, Mac, Windows, Google Fuchsia, and the web from a single codebase. The first version of Flutter was known as codename "Sky" and ran on the Android operating system.



THANKS FOR LOVE AND SUPPORT💪