Context
Pacto Connect currently only targets web (React, web components). Mobile-first merchants have no supported path to embed a Pacto checkout in a native app.
Scope
- New
packages/connect-react-native package wrapping the hosted checkout flow (WebView-based, using the same handshake/session model as connect-core) rather than reimplementing UI natively.
- Deep-link / universal-link handling for returning from any external payment step.
- Escrow event subscription surfaced via a React Native hook, reusing
connect-core's SSE client where the platform allows, with a documented polling fallback where it doesn't.
Acceptance criteria
- A bare React Native app can trigger a checkout, complete it in the embedded WebView, and receive an escrow-status callback in JS.
- Works on both iOS and Android in the example app under
apps/docs (or a new apps/example-rn).
- No merchant secret key is ever bundled into the mobile app.
Context
Pacto Connect currently only targets web (React, web components). Mobile-first merchants have no supported path to embed a Pacto checkout in a native app.
Scope
packages/connect-react-nativepackage wrapping the hosted checkout flow (WebView-based, using the same handshake/session model asconnect-core) rather than reimplementing UI natively.connect-core's SSE client where the platform allows, with a documented polling fallback where it doesn't.Acceptance criteria
apps/docs(or a newapps/example-rn).