Skip to main content

SDK 1.0.0

Closing and legacy methods

sdk.ready() // your first screen is painted: remove the host's loading overlay
sdk.close() // close the mini app (same as the user tapping ✕)

Older mini apps may still use these. You do not need them:

MethodWhat it does today
setHeader(params)Nothing. The native header is hidden; draw your own.
postMessage(action, params)Sends a raw bridge message. Prefer the typed methods.