1.Overview
Android Social Login Package App for creating a simple login page and social media login page in your application. We provide the code for admin in this two login so admin can easily create the login page in their application.
1. Simple log in and registration – Admin can create a simple login page in their application.
2. Social login integration with – Admin can also create a login page with social media links.
– Facebook (Login with Facebook in your application)
– Google (Login with Google in your application)
– Twitter (Login with Twitter in your application)
– Linkedin (Login with Linkedin in your application)
2.App Setting
LOG IN SETTING:
LOG IN WITH SOCIAL MEDIA SETTING:
FACEBOOK LOG IN SETTING:
TWITTER LOGIN SETTING:
3.Workflow
Admin can create a login page in their application with Social login Package.
Here we provide the option when admin can create a login page with social media so it is possible for this application.
Simple login and registration page for an application.
Admin can fill all details of the login page and log in with the simple method.
We provide the Four social media login links here i.e; Facebook, Twitter, Google, and Linkedin.
Facebook Sign up with Android app:
Register your app.
Step 1-
All apps that use the Facebook SDK must be registered with Facebook. Log in to the https://developers.facebook.com/apps/ and click Create a New App in the top right.
Step 2-
You are presented with a form enter the required fields and click Create App ID.
In the next screen, you are able to see your Application ID. Make a note of it, because you will be needing it later.
In the next screen, you are able to see your Application ID. Make a note of it, because you will be needing it later.
Step 3-
Open Settings from the left and click the Add Platform button. From the pop-up, select Android.
Step 4-
In the next form, enter the package name of your app and the name of your activity . If you haven’t created your app or activity yet, make sure you remember the values you entered.
Step 5-
To fill in the Key Hashes field, open a terminal window and run the keytool command to generate a key hash using the debug keystore located at ~/.android/debug.keystore. This is what the command should look like.
keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64
The default password for the debug keystore is android. Enter that password when prompted. The output of the command should be a string of 28 characters. Copy it, go back to your browser, and paste the string into the Key Hashes field as shown below.
Make sure Single Sign-On is set to Yes and click the Save Changes button.
Step 6-
Open App review from the left and “Make app ID public” is set to yes
now your app is Registered.
Step 7-
Replace the facebook app id with your app id in strings.xml
Gmail sign up with android app
Step 1-
The configuration file provides service-specific information for your app. Go to the following link and get it https://developers.google.com/mobile/add?cntlbl=Continue+with+Try+SignIn&cntapi=signin&refresh=1&platform=android&cntapp=Defaolt+Demo+App&cntpkg=com.google.samples.quickstart.signin&cnturl=https%3A%2F%2Fdevelopers.google.com%2Fidentity%2Fsignin%2Fandroid%2Fstart%3Fconfigured%3Dtrue
after enter the app name and android package name click on “choose and configure services”.
Step 2-
Choose Google Sign-In the service page.
We will continue on this page, but first, we have to generate SHA-1 fingerprint.
Step 3-
Generate SHA-1 fingerprintOpen
your terminal and execute the following command to generate the
SHA-1 fingerprint. If it asks for a password, type android and press
enter.
keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android
Step 4-
copy the SHA-1 ID and paste it to the Google developer’s page.
Step 5-
Click on ENABLE SIGN IN button.
Step 6-
Click on CONTINUE TO GENERATE CONFIGURATION FILE button.
Step 7-
This will open download and install configuration page, click on Download google-services.json button.
Step 8-
Copy the google-services.json file you just download into the app directory of your android studio project.
For any Query Please Contact us on:
Skype ID: makewebbetter
Mail ID: support@makewebbetter.com