https://github.com/npvisual/corelocation-redux
A sample Redux app to test the CoreLocationMiddleware
https://github.com/npvisual/corelocation-redux
Last synced: about 1 year ago
JSON representation
A sample Redux app to test the CoreLocationMiddleware
- Host: GitHub
- URL: https://github.com/npvisual/corelocation-redux
- Owner: npvisual
- Created: 2020-09-16T14:18:24.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-10-02T15:59:30.000Z (over 5 years ago)
- Last Synced: 2025-01-23T05:31:16.482Z (over 1 year ago)
- Language: Swift
- Size: 155 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CoreLocation-Redux
A sample Redux app to test the [CoreLocationMiddleware](https://github.com/SwiftRex/CoreLocationMiddleware)
This version contains :
* start / stop standard and significant location changes monitoring services,
* listens to [location updates](https://developer.apple.com/documentation/corelocation/cllocationmanagerdelegate/1423615-locationmanager) from the CLLocationManager delegate and dispatches the CLLocation data back to the store,
* listens to [authorization changes](https://developer.apple.com/documentation/corelocation/cllocationmanagerdelegate/3563956-locationmanagerdidchangeauthoriz) from the CLLocationManager delegate and dispatches the authorization status and location accuracy (if available) back to the store
* support for region monitoring
* support for iBeacon ranging (doesn't act as an iBeacon, simply looks for one)
* support for visit-related events
* support for heading updates
For more information on using [Beacon Ranging](https://developer.apple.com/documentation/corelocation/ranging_for_beacons), please take a look at [this post](https://github.com/npvisual/CoreLocation-Redux/wiki/Using-Beacon-Ranging) on the Wiki. Setting up an iBeacon for playing with Beacon Ranging isn't too complicated, but is somewhat out of scope for this middleware. Luckily, Apple provides a project that can be downloaded and easily used on a secondary device to test ranging (and region monitoring for [CLBeaconRegion](https://developer.apple.com/documentation/corelocation/clbeaconregion)).