How Do I Initialize the Customer Profile in the iOS SDK (v4)?
Register and identify customers in your iOS app
To allow Gameball to track rewards, events, and progress for each user, your app must register or identify the customer after login or during onboarding.
This step links all Gameball activity to the correct player profile.
1. Basic Customer Initialization
Use initializeCustomer whenever a user logs in, registers, or updates their information.
🔒
Secure API Access: To benefit from v4.1 secure API endpoints, pass the sessionToken parameter when calling methods (required in upcoming SDK v4). This enables automatic routing to v4.1 secure endpoints. Learn more about v4.1 →