GoNative’s Social Login Native Plugin facilitates a seamless native login experience for end users using any combination of Facebook Login, Google Sign-in and Sign in with Apple.
The login process is facilitated through the respective native SDKs rather than the webview. If the end user is already logged into an account their login is initiated automatically, avoiding the need to manually enter username and password details.
For iOS apps if Facebook Login or Google Sign-in are used then Apple Publishing Guidelines require that Sign in with Apple also be provided (See Guideline 4.8). Sign in with Apple is currently only supported on iOS devices.
1. Configure each Social Login identity provider
Configure as needed within your developer accounts
Steps to configure Facebook Login
Steps to configure Google Sign-in
Steps to configure Sign in with Apple
Android App Signing Key Values
Google Sign-in and Facebook Login require the your app's signing key SHA-1 fingerprint.
If you are using Google Play App Signing this is available from the Google Play Console on the Release > Setup > App Integrity page. Refer to screenshot below. Note that for Facebook you will additionally need to base64 encode the SHA-1.
If you are instead using GoNative to sign your app contact our team to obtain the values for your app.
2. Provide GoNative with app parameters
GoNative requires the following parameters to activate the Social Login Native Plugin within your app. Illustrative values are shown to indicate the expected format of each parameter.
- Display Name:
Your App Name
- App Id:
- Client Token (iOS Only):
- iOS Client ID:
- iOS URL Scheme:
- Android Client ID:
Sign in with Apple:
- Client ID:
3. Update your website or web application
You will need to modify your website to use the Social Login Native Plugin when your site is displayed through your native apps rather than calling the standard web functions.
Guide to configuring your website to use the Social Login Plugin
4. Rebuild your app and test
If using Sign in with Apple ensure that the Sign in with Apple Capability is enabled for your app in Xcode
Sign in with Apple Capability Required
Prior to publishing your app ensure the "Sign in with Apple" Capability is added within Xcode
Updated about 1 year ago