Defines problem report trigger categories and wire format strings for error feedback submission. Reuse when implementing client-side telemetry and error reporting flows.
// Source: https://github.com/pathorsAI/parley | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works // Provided via justclaw.it.com; keep this notice with the code. package com.pathors.parley.feedback /** * Why a problem report was sent — the `trigger` field of `POST /feedback`. * * The wire strings are a contract shared with iOS and the cloud, which refuses * anything outside this list with a 400; a report that 400s is dropped from the * offline queue and never arrives. So [wire] is spelled out per entry rather * than derived from the enum name, and a test pins every one of them. * * Every trigger but [CRASH] and [MANUAL] is a *prompt* the app raises on its * own, at the moment it knows something went wrong, and those are subject to * th ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key