Setting up Social Logins for iOS apps

Customers who build their Android and iOS apps with AppMySite, can enable social login for their app users. This feature is available for all apps with code version 1.7.0 and above.

It makes the onboarding process easier and gives your users the option to login to your app with their Google or Apple accounts.

We recommend that you design your app first and then proceed with setting up the social login.

Please note that you will also need to create a Google Firebase account and upload the Firebase configuration file to enable social login. The steps for the same have been included as well.

Enabling social login for iOS users:

Follow the steps to enable social login in your iOS app:

  • Before generating your iOS app build, you will need to generate some essential certificates from your Apple developer account
  • While creating your App Identifier, under the Register an Apple Id section, check the boxes against Push Notifications and Sign in with Apple*
This image has an empty alt attribute; its file name is app-identifier-register-new-id-1024x543.png
*This step is mandatory as Apple only enables sign in from other social accounts when Sign in with Apple is enabled too. Click here for more information on how you can create your app identifier.
  • Now login to your AppMySite account and go to the Download app section
  • Select Build app under the iOS app section (or select Rebuild app if you already have an app live on Apple App Store)
  • In the window popup, upload the certificates you generated earlier.
  • Turn the social login toggle on and copy your app bundle ID.
This image has an empty alt attribute; its file name is ios-bundle-idd.png
  • Open Firebase and create an account if you don’t already have one.
  • Create a Firebase Project for your mobile app
  • Go to Project Settings on the Firebase dashboard
  • Open the Your Apps section and select the Add app button
  • Choose iOS as the operating system (you will be directed to a new page here)
  • On the page, enter your App bundle ID and App name
This image has an empty alt attribute; its file name is download-gservices.png
  • Download the googleservice-list.plist file from the popup
  • Go back to the AppMySite dashboard and Upload this file to the Google Firebase Configuration field on the dashboard pop-up
This image has an empty alt attribute; its file name is ios-add-info.png
  • Continue to Build your app and submit it to Apple App Store
Note
1. You need to be on a paid subscription plan to enable the social login feature in the app.
2. You can enable the feature for all Android and iOS apps with code version 1.7.0 and above.
3. You will need only one Firebase account to enable social login for both Android and iOS.