LevelPlay / IronSource
Integration
- Go to the official LevelPlay iOS SDK integration guide and integrate it into your project.
- Initialize the Magify SDK and call
magify.setup(). - Pass the Magify
clientIdas the user ID when building the LevelPlay init request:
magify.setup()
let clientId = magify.clientId
let initRequest = LPMInitRequestBuilder(appKey: "{YourAppKey}")
.withUserId(clientId)
.build()
LevelPlay.initWith(initRequest) { config, error in
// Initialization finished — create and load ads
}
The user ID is supplied as part of initialization, so all LevelPlay mediation and ad events are tied to the Magify identity. It must be set at init time and cannot be changed afterward.