The creator-centric platform for building live games in Unity

Easily add social, commerce, and content management features to your live game with low-code, drag-and-drop prefabs fully integrated with your Unity workflow.

Adding Apple Sign-In

Overview

The purpose of this guide is for game makers to use Apple Sign-In with the Beamable Accounts FeatureFeature - An individual aspect of the Beamable product used to create a great user experience.

Integration

Beamable integrates with this technology.

Apple's Sign-In makes it easy for users to sign in to your apps and websites using their Apple ID. Instead of filling out forms, verifying email addresses, and choosing new passwords, they can use Sign in with Apple to set up an account and start using your app right away. All accounts are protected with two-factor authentication for superior security, and Apple will not track users’ activity in your app or website.

User Experience

When setup properly, the user experience in the game project will be as follows.

Prerequisites

This guide assumes the following prerequisites have been completed.

Configure Unity Project

Steps

Details

  1. Set up the Beamable SDK for Unity

• See Beamable's Getting Started for more info

  1. Switch platform to iOS

• Unity → File → Build Settings
• Select iOS then press Switch Platform

Steps

Follow these steps to get started.

Configure Beamable

Step

Detail

  1. Open Configuration Manager

• Unity → Window → Beamable → Open Toolbox • Click the "Config" Button
  1. Edit "Account Management" Configuration

• Set "Apple" to true

Configure XCode Project

Step

Detail

  1. Build iOS Unity project
  1. Open the generate XCode project
  1. Select Project in Left Nav
  1. Select Sign In With Apple

• Select **Signing & Capabilities** in the center • Select **+ Capability** • Select **Sign In With Apple**
  1. Build & Run
  1. Verify Results

• "Sign In With Apple" will now be visible in the Beamable Account Management Flow and function properly

Note: See the images below for verify your results

User Interface

When setup properly, the player's user interface in the game project will be as follows.

Account Management Flow (Default)

Account Management Flow (Apple Sign-In)

Next Steps

From here, the player can edit account details including account name and account avatar.

The player can switch accounts and sign in with various methods. See the Accounts feature page for more info.

When finished, the player can close the Account Management Flow window and return to the game-specific content.

Updated 2 months ago


Adding Apple Sign-In


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.