201 CreatedFilter resets after screen rotation
When I rotate the phone on the search tab, the active filter clears.
| Phone system | iOS 18.2 |
| App build | 1.4.0 (241) |
| Language | en-US |
| Screenshot | Private R2 image (180-day expiry) |
Self-host one stateless Cloudflare Worker, embed the native iOS or Android SDK, and triage user reports in the repositories you already own.
POST /v1/feedback201 CreatedWhen I rotate the phone on the search tab, the active filter clears.
| Phone system | iOS 18.2 |
| App build | 1.4.0 (241) |
| Language | en-US |
| Screenshot | Private R2 image (180-day expiry) |
Three components and no centrally hosted service.
Users open Send feedback from settings, the floating duck button, or device shake. On private repos they can redact regions in black and preview every field before sending.
FeedbackDuck.present()Your Cloudflare Worker checks JSON Schema 2020-12, verifies appId in apps.json, enforces per-install and per-app rate limits, and signs a GitHub App token.
POST /v1/feedbackThe Worker creates a labeled GitHub issue in your repository and returns 201. Public repositories drop email and screenshot fields before creation.
201 {"ok":true,"reportId":"..."}Apple frameworks on iOS, plus AndroidX and Jetpack Compose on Android. Your own HTTPS Worker endpoint is required.
// Package URL: https://github.com/FeedbackDuck/sdk (1.0.0)
import FeedbackDuck
let endpoint = URL(
string: "https://feedback.example.com/v1/feedback"
)!
let config = FeedbackDuckConfig(
appId: "my-app-ios",
appName: "My App",
endpoint: endpoint
)
FeedbackDuck.configure(config)
ContentView().feedbackDuck()// settings.gradle.kts: includeBuild("feedback-duck-sdk/android")
// dependency: implementation("com.eslamx.feedbackduck:sdk:1.0.0")
val config = FeedbackDuckConfig(
appId = "my-app-android",
appName = "My App",
endpoint = "https://feedback.example.com/v1/feedback",
)
FeedbackDuck.configure(context, config)
FeedbackDuckHost { AppContent() }Built to keep user reports inside the repository you control.
Workers observability and Logpush stay disabled. The Worker stores no database and keeps no report text.
The Worker checks the repository private flag live and drops email and screenshot fields on public repos.
The SDK strips EXIF metadata on-device. Private-repo JPEGs live in R2 under random hex keys and expire after 180 days.
The SDK requires an HTTPS URL with a host and no whitespace. Bad endpoints log once and disable the SDK.
You own the Worker repository, the GitHub App, and every stored issue.
Use Deploy to Cloudflare to copy FeedbackDuck/worker, create the SHOTS R2 bucket, and configure rate limits.
git clone https://github.com/FeedbackDuck/worker.gitRegister a private GitHub App with Issues read/write and Metadata read-only access, then install it on your repos.
bun run setup:github-appCopy apps.example.json to apps.json, map each appId to a repository, and force-commit it inside a private fork.
git add -f apps.jsonAdd GITHUB_APP_ID and GITHUB_APP_PRIVATE_KEY via wrangler secret put, then set routes and SCREENSHOT_BASE_URL.
bunx wrangler deployCopy FeedbackDuck/worker to Cloudflare, run bun run setup:github-app, and connect your apps.