GYP Flows

Lucra Flows setup

Use LucraSDK.present to launch Games You Play flows.

Landing page to find Games to create

This flow is equivalent to CREATE_GAMES_MATCH_UP. Also shows the available Tournaments for the user.

await LucraSDK.present({
  name: LucraSDK.FLOW.HOME_PAGE,
  locationId: "..." //optional location id to pre select
});

Required parameters:

  • name: LucraSDK.FLOW.HOME_PAGE

  • gameid: Your internal game identifier (string)

Create Games Matchup

await LucraSDK.present({
  name: LucraSDK.FLOW.CREATE_GAMES_MATCH_UP,
  gameid: 'PING_PONG',
});

Required parameters:

  • name: LucraSDK.FLOW.CREATE_GAMES_MATCH_UP

  • gameid: Your internal game identifier (string)

Games Contest Details

Required parameters:

  • name: LucraSDK.FLOW.GAMES_CONTEST_DETAILS

  • matchupId: Lucra matchup ID (string)

Last updated