Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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 21 hours ago
JSON representation

The location manager allows the tracking of user locations and setting of geofences.

Awesome Lists containing this project

README

        

# Location Manager Module
[![build](https://github.com/swiftui-packages/location-manager-module/actions/workflows/build.yml/badge.svg)](https://github.com/swiftui-packages/location-manager-module/actions/workflows/build.yml)
[![test](https://github.com/swiftui-packages/location-manager-module/actions/workflows/test.yml/badge.svg)](https://github.com/swiftui-packages/location-manager-module/actions/workflows/test.yml)
[![swiftlint](https://github.com/swiftui-packages/location-manager-module/actions/workflows/swiftlint.yml/badge.svg)](https://github.com/swiftui-packages/location-manager-module/actions/workflows/swiftlint.yml)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/1e13a27b783144e898ef95f19af321d5)](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)
[![swiftpackageindex swift versions](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fswiftui-packages%2Flocation-manager-module%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/swiftui-packages/location-manager-module)
[![swiftpackageindex platforms](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fswiftui-packages%2Flocation-manager-module%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/swiftui-packages/location-manager-module)
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](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