appleiOS SDK Migration Guide

iOS specific migration guide for the May 2025 GYP migration.

Overview

Lucra is launching a major update to the Games You Play (GYP) product. See here for the full description of the changes.

triangle-exclamation

Migration Guide

iOS – Before

public func getGamesMatchup(matchupId: String) async throws -> LegacyMatchup

iOS – After

public func getRecreationalGamesMatchup(matchupId: String) async throws -> LucraMatchup

New Model

LucraMatchup { 
    id: String 
    updatedAt: Date 
    createdAt: Date 
    creatorId: String 
    creator: LucraUser 
    participantGroups: [LucraMatchupGroup] 
    winningGroup: LucraMatchupGroup? 
    tournamentDetails: TournamentsMatchup? 
    isPublic: Bool 
    status: MatchupStatus 
    subtype: MatchupSubtype 
    type: MatchupType 
    recreationGameExtension: LucraMatchupRecreationalGameExtension? 
}

Creating a Matchup

iOS – Before

iOS – After


Accepting a Matchup

Must differentiate between Group Play and Free-for-All formats.

iOS – After


Cancelling a Matchup

iOS – Before

iOS – After

Last updated