Use @agentstack/sdk from React Native or Expo with the same resolveAgentStackApiBase() and sdk.platform.auth. Prefer sdk.messenger embed helpers for chat surfaces.
Hosted AgentStack apps can be installable; Web Push for DMs requires user permission and a registered service worker on your origin when self-hosting UI. On agentstack.tech, push is wired for messenger when enabled.
Related: messenger/OFFLINE_AND_RELIABILITY.md · auth/OAUTH_DEVICE_FLOW.md
When you ship a new static build to hosting (/s/{project_id}/{bucket}/):
- Deploy files via
hosting.deploy_filesor the Storage → Sites UI. - Browsers cache the service worker and shell — bump
cacheVersionin your web app manifest or change asset hashes so clients fetch the new bundle. - For messenger push, re-register push subscription only if your VAPID keys rotate.
Benefit: Same project hosting plane as commerce storefronts — no separate CDN project.