Prerequisites
- Grantiva SDK installed (Installation)
- Device attestation working (Quick Start) — feedback and support endpoints authenticate with the attestation JWT, so call
validateAttestation() first (in the Simulator, use API key mode instead)
1. Show feature requests
2. Let users submit ideas
3. Add voting
Each user/device gets one vote per feature. feature.hasVoted tells you if the current user already voted.
5. Support tickets
6. Get pushed when an admin replies
Forward the APNs token Apple gives your app delegate. The SDK attaches it to submissions and comments, and the backend pushes the device when an admin replies on that thread.
This requires a push app linked to your organization — see Push notifications.
7. With user identity (optional)
If you identify users, feedback persists across devices:
grantiva.feedback is an actor, so every call takes await — including refreshFeatureRequests() and clearCache(), which don’t throw.
SwiftUI example
Next steps