Storage And Context
Where your app keeps data and what it can learn about where it was opened.
Storage
Your app has its own storage on the person's device. It is per app: another app cannot read it, and your app gets no Aksa cookies.
| Method | What it does |
|---|---|
storage.get | Reads a value by key. |
storage.set | Writes a value by key. |
storage.remove | Removes a key. |
These are open methods: no scope and no permission prompt.
window.aksa.request({ method: "storage.set", params: { key: "glasses", value: "3" } })Keys are 1 to 128 characters made of letters, digits and . _ : -. Store text, and turn numbers and objects into text yourself.
Context
context.get returns the app id, your per-app pseudonymous userId, the actionId, the roomId, the locale and the source. The userId is stable for your app and means nothing in any other app. See User Identity And Email.
Sharing And Closing
share.open opens the share sheet, clipboard.write copies text, and ui.close closes your app. All three are open methods.
Ready to ship?
Submit An App