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 22.214.171.124 release ready!
Owner and Founder. Opencart
In iOS we can login into the app through Social account, then we don’t need to fill a long form to register into the app, let’s see below integrating GoogleSigin in iOS (Swift).
First, we need to install Google Signin pod.
Here’s how your Podfile should look like:
After the SDK installation, you will need an OAuth client ID and an iOS URL scheme so that you can continue with the configuration in Xcode.
Now open Google APIs Console and create a project for your sample app. If you have already created a project, you can also select it from the project list.
After creating a project, we also need to configure the OAuth consent screen. Follow the steps as shown in the image below to choose your app user type and then create the OAuth consent screen.
In the OAuth consent screen information page, fill in the application name, and then click “save”. This application name will be the name being shown in the Google Sign-in form when a user tries to sign in using your app.
After finishing configuring the OAuth consent screen, it’s time to create the OAuth client ID. Please check the below image to navigate to the OAuth client ID creation page.
Once you reach the OAuth client ID creation page, go ahead and select “iOS” as application type, fill in the name and also your sample app bundle ID and then click “create”.
Copy the OAuth client ID and iOS URL scheme you just created and save them, you will need both of them in just a bit.
Step1: Open project in xcode, select target and in Info section add iOS URL scheme in URL Types
Step2: Now, open AppDelegate class and import GoogleSignIn module.
Step3: After that, add below code into application(_:didFinishLaunchingWithOptions:) method.
Step4: Then just after application(_:didFinishLaunchingWithOptions:), add below method
As, we can see integrating GoogleSigin in iOS (Swift) is so easy, for more detailed information please check here.
Also check Google Signin implementation in objective-c here.
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.
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.