report.open
Opens the host's report sheet for your app.
Apple requires every mini app to offer a way to report it. Your page only asks; the host owns the sheet and the words, so the person writes and submits the report.
| Property | Value |
|---|---|
| Scope | None (open method) |
| Who can use it | Any developer |
| Status | Available |
Parameters
None. Send no params, or an empty object.
Result
| Field | Type | Description |
|---|---|---|
ok | boolean | true only when the person submitted a report and the server accepted it. false when they cancelled. |
Errors
| Code | When |
|---|---|
-32602 | Any parameter was sent. This method takes none. |
4200 | The phone could not do it right now. |
4290 | More than 30 requests in 10 seconds. |
See Error Codes for every code and how they reach your page.
Example
reportButton.onclick = () => window.aksa.request({ method: "report.open" });Notes
- It takes no parameters. Any parameter is refused with
-32602, so a page can never pre-fill a target, reason or details.
Used By
No starter app calls this method yet.
Ready To Build Or Ship?
Check your files, preview on an iPhone frame, and submit in the Developer Studio.