Skip to content

Add CloudKit-based FeatureVoter for backendless vote persistence#100

Open
ezefranca wants to merge 3 commits intoAvdLee:mainfrom
ezefranca:feature/icloud-based-voter
Open

Add CloudKit-based FeatureVoter for backendless vote persistence#100
ezefranca wants to merge 3 commits intoAvdLee:mainfrom
ezefranca:feature/icloud-based-voter

Conversation

@ezefranca
Copy link
Copy Markdown

Hello everyone,

This PR introduces FeatureVoterCloudKit, a new FeatureVoter implementation that uses CloudKit to persist roadmap votes without requiring a custom backend.

The implementation stores per-user vote markers in the Private CloudKit database to prevent double voting, and aggregated vote counts in the Public database to display global totals. This enables a fully Apple-native, serverless setup while keeping the existing voting API unchanged.

The new voter is optional and complements the existing Sidetrack integration and custom voter support. No existing behavior is modified.

Documentation is included to guide CloudKit setup and permissions required for multi-device support.

PS: If this approach does not fit the scope or direction of the project, I’m happy to move FeatureVoterCloudKit to a standalone gist or external example instead. 😉

@benrudhart
Copy link
Copy Markdown

I think this is a great idea ❤️

ezefranca added a commit to ezefranca/Roadmap that referenced this pull request Jan 14, 2026
Added my App Auctorium. 

I am using the Roadmap with CloudKit Backend: AvdLee#100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants