Native Shopify Mobile App with 20 new features
Kickstart your hyperlocal marketplace in Corona pandemic with a starter guide
Android App Development
iOS App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 184.108.40.206 release ready!
Owner and Founder. Opencart
Nowadays in most of the mobile app, it required login. And to log in, we need to signup first, filling the long-form. But we can log in to the app through a Social account, then we don’t need to fill a long form to register into the app. Google Sign in Flutter is one of the ways to log in.
In today’s blog, we will see how we can implement Google Sign in Flutter.
Step1: Register your android application in Firebase from the link.
Step2: Enable the OAuth APIs that you want, using the Google Cloud Platform API manager.
Note: Please fill all required fields in the console for OAuth consent screen. Else you might get APIException errors.
Step1: Register your iOS application in Firebase from the link.
Step2: Download GoogleService-Info.plist file, and add in Runner target.
Step3: Add below code in [my_project]/ios/Runner/Info.plist file.
Step1: Add below code in package’s pubspec.yaml and run pub get.
Step2: Import the package in your dart code.
Step3: Initialize the GoogleSignIn.
Step4: Use the following code to authenticate in your Dart code.
Please check below the complete code for main.dart file.
Finally run your code and check the result.
Thanks for reading 🙂
For more interesting blogs check out here – https://mobikul.com/blog/
Your email address will not be published. Required fields are marked*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
The support is fast and do everything in their power to make it perfect. If you need customization it's also done right away. I had massive research to select Mobikul and now I'm sure it was the right one.
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.