@appport/mobile
v1.0.1
Published
Lifecycle-aware AppPort client for React Native, Expo, iOS and Android.
Readme
@appport/mobile
The lifecycle-aware AppPort client for React Native and Expo. It uses platform fetch and WebSocket; no native module or Node polyfill is required.
import { AppPortMobile } from "@appport/mobile";
const app = await AppPortMobile.connect({ url: "https://api.example.com" });
await app.documents.save({ documentId: "doc_1", content: "mobile" });