{"id":28437073,"url":"https://github.com/flinedev/reviewkit","last_synced_at":"2025-08-23T16:11:57.213Z","repository":{"id":176402360,"uuid":"656131649","full_name":"FlineDev/ReviewKit","owner":"FlineDev","description":"Request reviews only from users with enough recent positive activity and only at appropriate times.","archived":false,"fork":false,"pushed_at":"2025-08-03T11:38:20.000Z","size":247,"stargazers_count":64,"open_issues_count":5,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-03T13:15:13.132Z","etag":null,"topics":["ios","rating","reviews","storekit","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FlineDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"Jeehut","patreon":"Jeehut","custom":["paypal.me/FlineDev"]}},"created_at":"2023-06-20T10:07:45.000Z","updated_at":"2025-08-03T11:38:24.000Z","dependencies_parsed_at":"2025-08-03T13:19:56.470Z","dependency_job_id":null,"html_url":"https://github.com/FlineDev/ReviewKit","commit_stats":null,"previous_names":["flinedev/reviewkit"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/FlineDev/ReviewKit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlineDev%2FReviewKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlineDev%2FReviewKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlineDev%2FReviewKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlineDev%2FReviewKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FlineDev","download_url":"https://codeload.github.com/FlineDev/ReviewKit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlineDev%2FReviewKit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271755444,"owners_count":24815408,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ios","rating","reviews","storekit","swift"],"created_at":"2025-06-05T23:08:36.980Z","updated_at":"2025-08-23T16:11:57.205Z","avatar_url":"https://github.com/FlineDev.png","language":"Swift","readme":"![ReviewKit Logo](https://github.com/FlineDev/ReviewKit/blob/main/Images/Logo.png?raw=true)\n\n[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FFlineDev%2FReviewKit%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/FlineDev/ReviewKit)\n\n# ReviewKit\n\nRequest reviews only from users with enough recent positive activity and only at appropriate times.\n\nRead the [Introduction Article](https://www.fline.dev/introducing-reviewkit/?ref=github.com) to learn how to best use ReviewKit in your app.\n\n## Requirements\n\n* Minimum deployment target iOS 11+, macOS 10.14+\n* Swift 5.8+ (Xcode 14.3+) \n\n\n## Usage\n\n1. Add ReviewKit to your app using SwiftPM:\n   \n   ```\n   https://github.com/FlineDev/ReviewKit.git\n   ```\n\n2. (Optional) Adjust the criteria by which app reviews are requested on app start (defaults to 3 positive events \u0026 expiration after 14 days):\n\n   ```Swift\n   import ReviewKit\n   // ...\n   ReviewKit.criteria = ReviewCriteria(minPositiveEventsWeight: 5, eventsExpireAfterDays: 30)\n   ```\n\n3. Determine common workflows in your app and when a user completes one of them, call this:\n\n   ```Swift\n   ReviewKit.recordPositiveEventAndRequestReviewIfCriteriaMet()\n   ```\n\n4. (Optional) Determine other activities that you think are positive experiences for your users. If they are in the middle of workflows, instead of the above call:\n\n   ```Swift\n   ReviewKit.recordPositiveEvent()  // optionally, you can pass a custom `weight` parameter, defaults to 1\n   ```\n\n5. (Optional) Get more reviews from users who tried your app at least once, add this to your app entry point:\n\n   ```Swift\n   @AppStorage(\"appStarts\")\n   var appStarts: Int = 0\n   ```\n\n   And attach this modifier to your apps' root view:\n\n   ```Swift\n   .onAppear {\n      self.appStarts += 1\n\n      if self.appStarts \u003e= 2 {\n         ReviewKit.recordPositiveEventAndRequestReviewIfCriteriaMet()\n      }\n   }\n   ```\n\nThat's it – you have configured App Review requests for your app!\n\n\n### Notes\n\n* ReviewKit is using Apple's `SKStoreReviewController` API internally. That API already encapsulates some logic to make sure not to ask users too often.\n* That logic is turned off in `DEBUG` mode, so you might want to set `ReviewKit.enabledInDebugBuilds = false` once you've tested that everything works.\n* There's also a function `requestReviewIfCriteriaMet()` that does not record a positive event in case you need that.\n\n\n## Showcase\n\nI extracted this library from my following Indie apps (rate them with 5 stars to support me!):\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003cth\u003eApp Icon\u003c/th\u003e\n    \u003cth\u003eApp Name \u0026 Description\u003c/th\u003e\n    \u003cth\u003eSupported Platforms\u003c/th\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\n      \u003ca href=\"https://apps.apple.com/app/apple-store/id6476773066?pt=549314\u0026ct=github.com\u0026mt=8\"\u003e\n        \u003cimg src=\"https://raw.githubusercontent.com/FlineDev/ReviewKit/main/Images/Apps/TranslateKit.webp\" width=\"64\" /\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd\u003e\n      \u003ca href=\"https://apps.apple.com/app/apple-store/id6476773066?pt=549314\u0026ct=github.com\u0026mt=8\"\u003e\n        \u003cstrong\u003eTranslateKit: App Localizer\u003c/strong\u003e\n      \u003c/a\u003e\n      \u003cbr /\u003e\n      Simple drag \u0026 drop translation of String Catalog files with support for multiple translation services \u0026 smart correctness checks.\n    \u003c/td\u003e\n    \u003ctd\u003eMac\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\n      \u003ca href=\"https://apps.apple.com/app/apple-store/id6587583340?pt=549314\u0026ct=github.com\u0026mt=8\"\u003e\n        \u003cimg src=\"https://raw.githubusercontent.com/FlineDev/ReviewKit/main/Images/Apps/PleydiaOrganizer.webp\" width=\"64\" /\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd\u003e\n      \u003ca href=\"https://apps.apple.com/app/apple-store/id6587583340?pt=549314\u0026ct=github.com\u0026mt=8\"\u003e\n        \u003cstrong\u003ePleydia Organizer: Movie \u0026 Series Renamer\u003c/strong\u003e\n      \u003c/a\u003e\n      \u003cbr /\u003e\n      Simple, fast, and smart media management for your Movie, TV Show and Anime collection.\n    \u003c/td\u003e\n    \u003ctd\u003eMac\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\n      \u003ca href=\"https://apps.apple.com/app/apple-store/id6502914189?pt=549314\u0026ct=github.com\u0026mt=8\"\u003e\n        \u003cimg src=\"https://raw.githubusercontent.com/FlineDev/ReviewKit/main/Images/Apps/FreemiumKit.webp\" width=\"64\" /\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd\u003e\n      \u003ca href=\"https://apps.apple.com/app/apple-store/id6502914189?pt=549314\u0026ct=github.com\u0026mt=8\"\u003e\n        \u003cstrong\u003eFreemiumKit: In-App Purchases\u003c/strong\u003e\n      \u003c/a\u003e\n      \u003cbr /\u003e\n      Simple In-App Purchases and Subscriptions for Apple Platforms: Automation, Paywalls, A/B Testing, Live Notifications, PPP, and more.\n    \u003c/td\u003e\n    \u003ctd\u003eiPhone, iPad, Mac, Vision\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\n      \u003ca href=\"https://apps.apple.com/app/apple-store/id6480134993?pt=549314\u0026ct=github.com\u0026mt=8\"\u003e\n        \u003cimg src=\"https://raw.githubusercontent.com/FlineDev/ReviewKit/main/Images/Apps/FreelanceKit.webp\" width=\"64\" /\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd\u003e\n      \u003ca href=\"https://apps.apple.com/app/apple-store/id6480134993?pt=549314\u0026ct=github.com\u0026mt=8\"\u003e\n        \u003cstrong\u003eFreelanceKit: Time Tracking\u003c/strong\u003e\n      \u003c/a\u003e\n      \u003cbr /\u003e\n      Simple \u0026 affordable time tracking with a native experience for all  devices. iCloud sync \u0026 CSV export included.\n    \u003c/td\u003e\n    \u003ctd\u003eiPhone, iPad, Mac, Vision\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\n      \u003ca href=\"https://apps.apple.com/app/apple-store/id6472669260?pt=549314\u0026ct=github.com\u0026mt=8\"\u003e\n        \u003cimg src=\"https://raw.githubusercontent.com/FlineDev/ReviewKit/main/Images/Apps/CrossCraft.webp\" width=\"64\" /\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd\u003e\n      \u003ca href=\"https://apps.apple.com/app/apple-store/id6472669260?pt=549314\u0026ct=github.com\u0026mt=8\"\u003e\n        \u003cstrong\u003eCrossCraft: Custom Crosswords\u003c/strong\u003e\n      \u003c/a\u003e\n      \u003cbr /\u003e\n      Create themed \u0026 personalized crosswords. Solve them yourself or share them to challenge others.\n    \u003c/td\u003e\n    \u003ctd\u003eiPhone, iPad, Mac, Vision\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\n      \u003ca href=\"https://apps.apple.com/app/apple-store/id6477829138?pt=549314\u0026ct=github.com\u0026mt=8\"\u003e\n        \u003cimg src=\"https://raw.githubusercontent.com/FlineDev/ReviewKit/main/Images/Apps/FocusBeats.webp\" width=\"64\" /\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd\u003e\n      \u003ca href=\"https://apps.apple.com/app/apple-store/id6477829138?pt=549314\u0026ct=github.com\u0026mt=8\"\u003e\n        \u003cstrong\u003eFocusBeats: Pomodoro + Music\u003c/strong\u003e\n      \u003c/a\u003e\n      \u003cbr /\u003e\n      Deep Focus with proven Pomodoro method \u0026 select Apple Music playlists \u0026 themes. Automatically pauses music during breaks.\n    \u003c/td\u003e\n    \u003ctd\u003eiPhone, iPad, Mac, Vision\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\n      \u003ca href=\"https://apps.apple.com/app/apple-store/id6479207869?pt=549314\u0026ct=github.com\u0026mt=8\"\u003e\n        \u003cimg src=\"https://raw.githubusercontent.com/FlineDev/ReviewKit/main/Images/Apps/GuidedGuestMode.webp\" width=\"64\" /\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd\u003e\n      \u003ca href=\"https://apps.apple.com/app/apple-store/id6479207869?pt=549314\u0026ct=github.com\u0026mt=8\"\u003e\n        \u003cstrong\u003eGuided Guest Mode\u003c/strong\u003e\n      \u003c/a\u003e\n      \u003cbr /\u003e\n      Showcase Apple Vision Pro effortlessly to friends \u0026 family. Customizable, easy-to-use guides for everyone!\n    \u003c/td\u003e\n    \u003ctd\u003eVision\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\n      \u003ca href=\"https://apps.apple.com/app/apple-store/id6478062053?pt=549314\u0026ct=github.com\u0026mt=8\"\u003e\n        \u003cimg src=\"https://raw.githubusercontent.com/FlineDev/ReviewKit/main/Images/Apps/Posters.webp\" width=\"64\" /\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd\u003e\n      \u003ca href=\"https://apps.apple.com/app/apple-store/id6478062053?pt=549314\u0026ct=github.com\u0026mt=8\"\u003e\n        \u003cstrong\u003ePosters: Discover Movies at Home\u003c/strong\u003e\n      \u003c/a\u003e\n      \u003cbr /\u003e\n      Auto-updating \u0026 interactive posters for your home with trailers, showtimes, and links to streaming services.\n    \u003c/td\u003e\n    \u003ctd\u003eVision\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n","funding_links":["https://github.com/sponsors/Jeehut","https://patreon.com/Jeehut","paypal.me/FlineDev"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflinedev%2Freviewkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflinedev%2Freviewkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflinedev%2Freviewkit/lists"}