Guide: Embedded
Use the SDK betslip inside EmbetOverlay and settle each bet in onPlaceBet. Omit mode or set mode: 'INTERNAL' in configureBetSlip.
Replace YOUR_CLIENT_ID, YOUR_EVENT_ID, and wire onPlaceBet to your sportsbook API.
npm install @livelike/embet-rn react-native-webviewimport { useRef } from 'react';
import { View, StyleSheet } from 'react-native';
import {
EmbetOverlay,
type EmbetBetPayload,
type EmbetOverlayRef,
} from '@livelike/embet-rn';
const CLIENT_ID = 'YOUR_CLIENT_ID';
const EVENT_ID = 'YOUR_EVENT_ID';
export function EmbetSportsbookScreen() {
const overlayRef = useRef<EmbetOverlayRef>(null)