Skip to main content

Passkey

note

This feature is supported in Player Network SDK V1.27 or later.

Android

Step 1: Configure web server

Server configuration is required for the Passkey function, and can only used when configuration is complete after aligning with Player Network developers.

For more information, reach out to the Player Network representative.

Step 2: Configure Passkey in Player Network SDK

Add PASSKEY_ENABLE = 1 to INTLConfig.ini to toggle on Passkey, see PASSKEY_ENABLE for details.

Step 3: Test the Passkey function

After repackaging, click Passkey from the LI PASS login panel to confirm that the passkey interface can be displayed. Image: fingerprint

Apple

Step 1: Configure web server

Server configuration is required for the Passkey function, and can only used when configuration is complete after aligning with Player Network developers.

For more information, reach out to the Player Network representative.

Step 2: Configure Associated Domains

  1. To enable the Associated Domains capability, contact your capability manager to apply for the relevant permissions. For more information, see Supporting associated domains.

    Image: Associated Domains

  2. After enabling the Associated Domains capability, generate a new signed configuration profile.

  3. Configure Xcode capabilities. From Signing & Capabilities in the Xcode project, enable Associated Domains and add webcredentials:account.levelinfinite.com to Domains.

    Image: Associated_Domains_Xcode

    note

    The root domain for Passkey is confirmed to be webcredentials:account.levelinfinite.com.

Games can also add and enable Associated Domains automatically by using the below code.

Add the following code in PostProcess:

#if UNITY_2019_3_OR_NEWER
var capManager = new UnityEditor.iOS.Xcode.ProjectCapabilityManager(projPath, entitlementsFilePath, targetGuid: targetProjectName);
#else
var capManager = new UnityEditor.iOS.Xcode.ProjectCapabilityManager(projPath, entitlementsFilePath, targetProjectName);
#endif

capManager.AddAssociatedDomains(new string[] { "your_link1", "your_link2", "your_link3" });

Step 3: Configure Passkey in Player Network SDK

note

The Player Network SDK will have to be configured first for iOS apps, see Configure Player Network SDK for detailed steps.

Add PASSKEY_ENABLE = 1 to INTLConfig.ini to toggle on Passkey, see PASSKEY_ENABLE for details.

Step 4: Test the Passkey function

After repackaging, click Passkey from the LI PASS login panel to confirm that the passkey interface can be displayed. Image: fingerprint