Apple login on IOS
Copy a setup prompt with the install steps and the full markdown guide for this plugin.
Letβs break down what you are going to need in order to setup Apple login on IOS.
-
Configure the capabilities of your app.
In order to do this, please open Xcode, click on
App
-
Make sure that you select the right target.

-
Please make sure that you add the
Sign in with Applecapability.

-
Initialize the Apple Login in your app.
// onMounted is vue specificonMounted(() => {SocialLogin.initialize({apple: {}})}); -
Create a button that will begin the login process.
Said button should call the following function:
async function loginApple() {const res = await SocialLogin.login({provider: 'apple',options: {}}) -
Run your app on a PHYSICAL device and test it.
If you followed the steps closely you will see the following screen after clicking your button.

Thatβs it! You are all set.