πApple Sign In
minimum version is v2.11.0
Sign In with Apple should be only displayed on iOS devices otherwise, it will not work (for Android or Web)
π§ Bubble.io Plugin
Natively - Apple Sign In
Events:
Apple Sign In Success
Apple Sign In Failed
States:
Email
Given Name
Family Name
Error
Subject - unique identifier based on your app + user iCloud (it's unique)
Initial Sign In - mean that user signin/signup for the first time to your app
Actions:
Sign In with Apple
IMPORTANT for Bubble Plugin and JS SDK devs.
Apple allows users to hide their email addresses when logging into an app. If this option is selected, Apple generates a unique forwarding email address that relays any received emails to the user's actual email address, which will be disclosed to you. Note that this forwarding email address is only revealed during the user's initial login to your app. In subsequent logins, this information will not be accessible, leaving the email field vacant.
Alternatively, if a user decides to disclose their email address, it will be consistently available for you to utilize each time they log in.
π JavaScript SDK
NativelyAppleSignInService
const appleService = new NativelyAppleSignInService()
const apple_signin_callback = function(resp) {
console.log(resp);
if (resp.status) {
console.log(resp.email);
console.log(resp.subject); // unique identifier based on your app + user iCloud (it's unique)
console.log(resp.givenname);
console.log(resp.familyname);
console.log(resp.initial); // mean that user signin/signup for the first time to your app
} else {
console.log(resp.message);
}
};
appleService.signin(apple_signin_callback);
Last updated
Was this helpful?