showHeader | value: boolean | Show or hide the native header |
header.set | title?, backgroundColor?, textColor?, action? | Customize the native header |
closeApp | — | Close the app |
auth.request | — | Ask for the current token |
platform.get | — | Ask for OS and host kind |
language.get | — | Ask for the UI language |
clipboard.write | text | Write to the clipboard |
clipboard.read | — | Read the clipboard |
camera.capture | quality?, allowsEditing? | Take a photo with the system camera |
camera.isAvailable | — | Does the shell have a camera screen? |
camera.open | mode?, facing?, maxDurationMs?, maxFileSize?, title?, hint?, allowGallery?, audio?, deliver? | Open the shell’s camera screen |
qr.scan | formats?, title?, hint?, allowGallery? | Open the QR / barcode reader |
imagePicker.open | multiple?, quality? | Open the gallery |
statusBar.set | style?, backgroundColor?, hidden? | Style the status bar |
navigationBar.set | style?, backgroundColor?, hidden? | Style the Android navigation bar |
storage.set | key, value | Save a value |
storage.get | key | Read a value |
storage.remove | key | Delete a value |
storage.keys | — | List keys |
storage.clear | — | Delete all of this app’s values |
secureStorage.set | key, value | Save an encrypted string |
secureStorage.get | key | Read an encrypted string |
secureStorage.remove | key | Delete an encrypted string |
notifications.requestPermission | — | Ask for notification permission |
notifications.schedule | title, body?, seconds?, repeats?, data?, sound? | Schedule a local notification |
notifications.cancel | id | Cancel one |
notifications.cancelAll | — | Cancel all |
notifications.getBadgeCount | — | Read the badge |
notifications.setBadgeCount | count | Set the badge (0 clears) |
notifications.getInbox | — | Read this app’s inbox |
notifications.inbox.markRead | id? | Mark one, or all, read |
share.open | title?, message?, url? | Share text or a link |
share.file | uri, mimeType?, dialogTitle? | Share a device file |
share.content | data, encoding?, fileName, mimeType?, dialogTitle? | Share a file the page generated |
haptics.impact | style? | Impact feedback |
haptics.notification | style? | Outcome feedback |
haptics.selection | — | Selection feedback |
biometrics.isAvailable | — | Check biometrics |
biometrics.authenticate | promptMessage?, cancelLabel?, fallbackLabel?, disableDeviceFallback? | Authenticate |
passkey.isAvailable | — | Check passkey support |
passkey.create | challenge, user?, rp?, pubKeyCredParams?, excludeCredentials?, authenticatorSelection?, attestation?, timeout? | Register a passkey |
passkey.get | challenge, allowCredentials?, userVerification?, timeout? | Sign with a passkey |
deeplink.getInitial | — | Ask for the launch link |
deeplink.open | slug?, path?, url?, params? | Open another app, or route in this one |