async function getInstallInstructions(esimId) { const esim = await getEsimDetails(esimId); return { ios: [ 'Open Settings on your iPhone', 'Tap Cellular or Mobile Data', 'Tap Add eSIM', 'Scan the QR code or enter details manually', `SM-DP+ Address: ${esim.smdpAddress}`, `Activation Code: ${esim.matchingId}` ], android: [ 'Open Settings on your Android device', 'Go to Network & Internet > Mobile Network', 'Tap the + icon to add a carrier', 'Select "Download a SIM instead?"', 'Scan the QR code or enter details manually', `SM-DP+ Address: ${esim.smdpAddress}`, `Activation Code: ${esim.matchingId}` ], qrCode: esim.qrCodeUrl, manualSetup: { smdpAddress: esim.smdpAddress, matchingId: esim.matchingId, activationCode: esim.activationCode } };}