Skip to content

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

License

Notifications You must be signed in to change notification settings

swiftui-packages/location-manager-module

Repository files navigation

Location Manager Module

build test swiftlint Codacy Badge swiftpackageindex swift versions swiftpackageindex platforms License: GPL v3

Usage

soon to come


Integration

  1. Copy the resource url:
https://github.com/swiftui-packages/location-manager-module.git
  1. Open your Xcode project

  2. 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

  3. Here you should be prompted to "Choose Package Repository:"

  4. Paste the resource url

  5. Select Next to go with the latest version or select a specific version or branch

  6. After a short loading period of package resolution you get prompted to Choose package products and targets (the default should be fine)

  7. The complete hit the Finish button

  8. 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


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