https://github.com/swiftui-packages/location-manager-module
The location manager allows the tracking of user locations and setting of geofences.
https://github.com/swiftui-packages/location-manager-module
apple ios ipados spm swift swift-package swift-package-manager swift-packages swift-ui swiftui xcode
Last synced: about 1 year ago
JSON representation
The location manager allows the tracking of user locations and setting of geofences.
- Host: GitHub
- URL: https://github.com/swiftui-packages/location-manager-module
- Owner: swiftui-packages
- License: gpl-3.0
- Created: 2021-08-21T17:20:42.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-21T17:25:01.000Z (over 4 years ago)
- Last Synced: 2025-02-14T08:17:24.297Z (about 1 year ago)
- Topics: apple, ios, ipados, spm, swift, swift-package, swift-package-manager, swift-packages, swift-ui, swiftui, xcode
- Language: Swift
- Size: 15.6 KB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Location Manager Module
[](https://github.com/swiftui-packages/location-manager-module/actions/workflows/build.yml)
[](https://github.com/swiftui-packages/location-manager-module/actions/workflows/test.yml)
[](https://github.com/swiftui-packages/location-manager-module/actions/workflows/swiftlint.yml)
[](https://www.codacy.com/gh/swiftui-packages/location-manager-module/dashboard?utm_source=github.com&utm_medium=referral&utm_content=swiftui-packages/location-manager-module&utm_campaign=Badge_Grade)
[](https://swiftpackageindex.com/swiftui-packages/location-manager-module)
[](https://swiftpackageindex.com/swiftui-packages/location-manager-module)
[](https://www.gnu.org/licenses/gpl-3.0)
## Usage
soon to come
## Integration
1. Copy the resource url:
```
https://github.com/swiftui-packages/location-manager-module.git
```
2. Open your Xcode project
3. Two options a and b for step 3
a) At the menu bar navigate to _File_ / _Swift Packages_ / _Add Package Dependency_
b1) Select the project's root folder
b2) select your app name under _PROJECT_
b3) Open _Swift Packages_ tab on the right side of _Info_ and _Build Settings_
b4) Hit the _+_ button at the bottom of the list
4. Here you should be prompted to "_Choose Package Repository:_"
5. Paste the resource url
6. Select _Next_ to go with the latest version or select a specific version or branch
7. After a short loading period of package resolution you get prompted to _Choose package products and targets_ (the default should be fine)
8. The complete hit the _Finish_ button
9. Import LocationManagerModule into the files where you want to use it
## required info.plist entries
- _Privacy - Location When in Usage Description_
- _Privacy - Location Always Usage Description_ (optional)
## Can also be found here
- [Swift Package Registry](https://swiftpackageregistry.com/swiftui-packages/location-manager-module)
- [Swift Package Index](https://swiftpackageindex.com/swiftui-packages/location-manager-module)
- [Swift Pack](https://swiftpack.co/package/swiftui-packages/location-manager-module)
## ToDos
- maintaining README.md file
- GIF of importing Swift Package Manager Packages into Xcode Projects
- phrasing an introduction text
- writing usage instructions with code examples
- Pictures of app system setting with plist entries