Configure
Configuration is done via the Settings Inspector in Unity.
Configuration is applied automatically at build time for each platform.
Platform markers
The following markers are used to indicate platform availability of parameters and features:
- (no marker) — Shared parameter or feature
- 🍏 — iOS-specific parameter or feature
- 🤖 — Android-specific parameter or feature
- ⚠️ — Not implemented in the Unity plugin yet
Ask your release manager for the required parameters before configuring the SDK.
Basic Configuration
Fill in the following fields in the Settings Inspector:
| Field | Description |
|---|---|
| Client Id | Your 101XP client identifier |
| App Config Name | Remote configuration name for your application |
Automatic Authorization
| Field | Description |
|---|---|
| Auto Login Enabled | Automatically authorizes the user on app start if a valid session exists |
Enabled by default.
Guest Authorization
| Field | Description |
|---|---|
| Guest Enabled | Enables guest authorization option |
| Guest Only Authorization 🤖 | Allows authorization only as a guest (other methods are hidden) |
Use Guest Only Authorization if your game does not support social or platform accounts.
Social Account Linking Warning
| Field | Description |
|---|---|
| Guest Timeout Enabled | Shows a warning dialog suggesting to link a social account when playing as a guest |
Disable this option to suppress the warning.
User License Agreement (EULA)
| Field | Description |
|---|---|
| EULA Show Enabled | Enables showing a user license agreement before authorization |
| EULA Default Url | URL to the license agreement or privacy policy |
| EULA Auto Accept | Automatically accepts the license agreement without user confirmation |
Use these settings to comply with legal requirements.
Authorization Providers
The SDK supports the following authorization methods:
- 101XP platform account
- Social networks (Facebook, VK, Odnoklassniki)
- Guest authorization
- Platform accounts
Provider-specific options are configured through the SDK interface.
Token Handling
| Field | Description |
|---|---|
| Device Token Enabled 🍏⚠️ | Uses a device-based token instead of a refresh token |
Enable this only if required by your project. Use a constant token instead of a refresh token.
Authorization UI Orientation
| Field | Description |
|---|---|
| Screen Lock Horizontal 🍏 | Prevents horizontal orientation during authorization |
| Screen Lock Vertical 🍏 | Prevents vertical orientation during authorization |
Use these options to restrict authorization UI orientation if necessary.