{"id":38050452,"url":"https://github.com/koombea/location-manager-ios","last_synced_at":"2026-01-16T20:04:28.422Z","repository":{"id":46133054,"uuid":"426367750","full_name":"koombea/location-manager-ios","owner":"koombea","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-11T21:30:48.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":19,"default_branch":"master","last_synced_at":"2024-04-12T00:19:35.414Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/koombea.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-09T19:58:02.000Z","updated_at":"2024-04-12T00:19:35.415Z","dependencies_parsed_at":"2022-07-20T08:32:17.083Z","dependency_job_id":null,"html_url":"https://github.com/koombea/location-manager-ios","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/koombea/location-manager-ios","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koombea%2Flocation-manager-ios","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koombea%2Flocation-manager-ios/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koombea%2Flocation-manager-ios/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koombea%2Flocation-manager-ios/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koombea","download_url":"https://codeload.github.com/koombea/location-manager-ios/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koombea%2Flocation-manager-ios/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28482253,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-16T20:04:27.891Z","updated_at":"2026-01-16T20:04:28.414Z","avatar_url":"https://github.com/koombea.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Location Manager for iOS\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) \n[![Swift Package Manager](https://rawgit.com/jlyonsmith/artwork/master/SwiftPackageManager/swiftpackagemanager-compatible.svg)](https://swift.org/package-manager/)\n\n**Location Manager** is a library written in Swift that makes it easy for you to use Apple CoreLocation services.\n\n## Requirements\n- iOS 13.0+ \n\n## Installation\n\n### Swift Package Manager\n\nThe Swift Package Manager is a tool for managing the distribution of Swift code. It’s integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies.\n\nThe Package Manager is included in Swift 3.0 and above.\n\n```swift\n.package(url: \"https://github.com/koombea/location-manager-ios\", from: \"1.0.0\")\n```\n\n## The Basics\n\n### Location Authorization\n\n```swift\nlet status = await LocationManager.requestAuthorization(for: .whenInUse)\n```\n\n### Background Location Authorization\n\nIt must be used after request `whenInUse` [Read more from Apple Docs](https://developer.apple.com/documentation/corelocation/cllocationmanager/1620551-requestalwaysauthorization)\n\n```swift\nlet status = await LocationManager.requestAuthorization(for: .always)\t\n```\n\n### Notifications Observers\n\n```swift \n\nNotificationCenter.default.addObserver(self, selector: #selector(yourSelector),\n                                       name: LocationManager.authorizationStatusChanged, object: nil)\n\nNotificationCenter.default.addObserver(self, selector: #selector(yourSelector),\n                                       name: LocationManager.locationManagerDidFail, object: nil)\n\nNotificationCenter.default.addObserver(self, selector: #selector(yourSelector),\n                                       name: LocationManager.locationUpdated, object: nil)\n\nNotificationCenter.default.addObserver(self, selector: #selector(yourSelector),\n                                       name: LocationManager.authorizedBackgroundLocation, object: nil)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoombea%2Flocation-manager-ios","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoombea%2Flocation-manager-ios","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoombea%2Flocation-manager-ios/lists"}