UI Module
Presentation
SwiftUI
@State private var currentLucraFlow: LucraFlow?
...
.lucraFlow($currentLucraFlow, client: lucraClient)
UIKit
self.present(lucraFlow: .profile, client: lucraClient, animated: true)LucraFlow
public enum LucraFlow: Int, Identifiable {
public var id: Int { rawValue }
case onboarding
case verifyIdentity
case addFunds
case withdrawFunds
case createGamesMatchup(gameId: String? = nil, location: String? = nil)
case createSportsMatchup
case profile
case sportsContestDetails(matchupId: String)
case gamesMatchupDetails(matchupId: String)
case myMatchups
case matchupDetails(matchupId: String)
case tournamentDetails(matchupId: String)
}Gatekeeping Flows
Functionality Flows
Last updated