{"full_name":"sparrowcode/PermissionsKit","owner":"sparrowcode","name":"PermissionsKit","shard":"1","url":"https://github.com/sparrowcode/PermissionsKit","description":"Universal API for request permission and get its statuses.","homepage":"https://x.com/sparrowcode_ios","topics":["permission","permissions","ios","request","sparrow","location","notification","camera","photo-gallery","ui","dialog","xcode","interface","calendar","reminder"],"tag_pages":["calendar","camera","dialog","interface","ios","permission","permissions","photo-gallery","request","ui","xcode"],"language":"Swift","license":"MIT","avatar":"https://avatars.githubusercontent.com/u/98487302?v=4","created_at":"2017-02-16T17:49:57Z","pushed_at":"2026-09-12T10:42:53Z","metrics":{"stars":5813,"forks":479,"watchers":90,"issues":257,"prs":98,"releases":140,"issues_open":4,"issues_closed":253,"prs_open":0,"prs_closed":25,"prs_merged":73,"discussions":0},"growth":{"day":{"stars":0,"forks":0,"base_day":"2026-11-15"}},"history":{"dates":["2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[5812,5812,5813,5813,5813,5813,5813],"forks":[479,479,479,479,479,479,479],"watchers":[null,90,90,90,90,90,90],"issues_open":[null,4,4,4,4,4,4],"prs_open":[null,0,0,0,0,0,0]},"boards":{},"same_owner":[],"issues":[{"number":282,"title":"Local Network Permission","comments":19,"created_at":"2022-02-26T12:02:19Z"},{"number":305,"title":"Bluetooth status (powered)","comments":4,"created_at":"2022-07-27T17:01:34Z"},{"number":351,"title":"Lack of Home permission","comments":2,"created_at":"2024-08-19T06:26:16Z"},{"number":356,"title":"Add iOS 26 AlarmKit Permission Support","comments":0,"created_at":"2026-01-28T11:26:04Z"}],"discussions":[],"latest_release":{"name":"12.0.0","tag":"12.0.0","published_at":"2026-09-12T10:43:10Z","body":"Maintenance release after a long pause. Mostly a cleanup, but it changes what the package requires and how it is installed, hence the major bump.\n\n## Breaking\n\n- Deployment targets are now iOS 15, tvOS 15, watchOS 9 and macOS 13. Xcode 26 no longer builds for anything older.\n- The package builds in Swift 6 language mode. Completion closures are `@MainActor` — a permission dialog is UI work, and calling `request { }` from a view controller keeps working unchanged.\n- CocoaPods support is gone. The podspec, the subspecs and the `PERMISSIONSKIT_*` build flags went with it; Swift Package Manager is the only supported install.\n- `HealthPermission` returned the two usage description keys the wrong way round. `readingUsageDescriptionKey` is now `NSHealthShareUsageDescription` and `writingUsageDescriptionKey` is `NSHealthUpdateUsageDescription`. Check what your Info.plist says if you took the keys from here.\n\n## Fixed\n\n- Simplified Chinese never loaded: the folder was named `zh_Hans.lproj` with an underscore, which no bundle matches.\n- Microphone moved off `AVAudioSession.recordPermission`, deprecated since iOS 17, to `AVAudioApplication`.\n- Photo library moved off the legacy `PHPhotoLibrary` calls, which report plain `authorized` even under limited access, to the access-level variants.\n- Motion no longer calls `stopActivityUpdates()` after a query — that method pairs with `startActivityUpdates` and did nothing here.\n- Calendar, Reminders and Location each had a switch branch that could never run, because `EKAuthorizationStatusAuthorized` and `kCLAuthorizationStatusAuthorized` are aliases of `fullAccess` and `authorizedAlways`.\n- The package now builds cleanly for macOS, tvOS and watchOS. It did not before: `announcement` is unavailable outside iOS, watchOS and visionOS, and the Photos and AppTrackingTransparency targets have no watchOS counterpart.","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}