Deeplink Support
lucraClient.sendMessage.deepLinkResponse(...)
lucraClient.sendMessage.deepLinkResponse({
url: "https://yourapp.com?redirect=https://tenant.lucrasports.com/app/matchups/123"
});Configuring Matchup Invite URL Generation
const lucraClient = new LucraClient({
tenantId: "your-tenant-id",
env: "production",
onMessage: {
/* ... */
},
});
// Configure the transformer to generate invite URLs
lucraClient.matchupDeepLinkHandler = (matchupId) => {
return Promise.resolve(`${window.location.origin}?matchupId=${matchupId}`);
};Migration from deprecated deepLinkHandler for matchup invitations
deepLinkHandler for matchup invitationsLast updated
