Skip to content

Recipes

End-to-end solutions to real problems. Each recipe is a copy-pasteable file you can drop into a React Native app. Cross-links point to the API reference for deeper details.

UX flows

  • Limited photo access + upgrade — iOS 14+ partial photo access, detect with isLimited, upgrade with requestFullAccess() and renderLimited.
  • Onboarding permission wall — sequential multi-permission flow with stable id keys and resume() for settings round-trips.
  • Voice note composer — inline microphone access using skipPrePrompt: "android".
  • Speech recognition — iOS needs both MICROPHONE and SPEECH_RECOGNITION; Android needs only RECORD_AUDIO. Platform-aware sequential flow.
  • Imperative camera access — button-triggered camera permission inside a mid-form flow (KYC, profile photo, ID capture) without unmounting form state.
  • Location accuracy UI — render precise-vs-approximate map and ETA from result.metadata.locationAccuracy on iOS 14+ (Expo engine).

Platform-specific bundles

Reliability and testing