Skip to content

Releases: swiftuiux/swift-async-corelocation-streamer

Async location streamer using new concurrency model in Swift

03 Dec 14:32
7e40816
Compare
Choose a tag to compare

Release notes Version 2.1.0

  1. Pre-configured CLLocationManager Support

    • Pass a pre-configured CLLocationManager instance to LocationManagerAsync for complete control over the location manager's settings.
  2. Asynchronous Location Streaming

    • Stream location updates asynchronously using AsyncStream for efficient real-time data handling.
  3. Customizable Update Strategies

    • Choose how location results are retained with the Strategy enum:
      • .keepLast: Retains only the latest location update.
      • .keepAll: Retains all location updates during the session.
  4. Permission Management

    • Automatically handles permission requests for location updates, ensuring smooth user experience.
    • Detects and handles denied or restricted permissions with error reporting.
  5. Background Location Support

    • Enables continuous location updates in the background when configured with allowsBackgroundLocationUpdates.
  6. Stream State Management

    • Tracks the current state of location streaming (idle or streaming).
    • Supports starting, stopping, and restarting streams with ease.
  7. Seamless Integration with SwiftUI

    • Inject LocationStreamer into SwiftUI views using @EnvironmentObject for declarative UI updates.
  8. Custom Initialization Options

    • Flexible initialization with parameters for accuracy, activity type, distance filter, and background updates.
  9. Error Handling

    • Provides descriptive error types, including CLError and custom errors for denied permissions or invalid configurations.

Async location streamer using new concurrency model in Swif

27 Nov 15:11
Compare
Choose a tag to compare

Async location streamer using new concurrency model in Swift

20 Sep 16:01
04ec135
Compare
Choose a tag to compare

Async location streamer using new concurrency model in Swift

05 Jul 09:22
Compare
Choose a tag to compare

Added support for passing a custom CLLocationManagerDelegate

Async location streamer using new concurrency model in Swift

11 Feb 06:50
Compare
Choose a tag to compare

Code refactoring
Processing additional errors

Async location streamer using new concurrency model in Swift

10 Feb 03:06
Compare
Choose a tag to compare

Async location streamer using new concurrency model in Swift

09 Feb 06:30
Compare
Choose a tag to compare

Async location streamer using new concurrency model in Swift

07 Feb 08:13
Compare
Choose a tag to compare

Code refactoring
Handling CLError errors

Async location streamer using new concurrency model in Swift

06 Feb 13:31
Compare
Choose a tag to compare

Async location streamer using new concurrency model in Swift

04 Feb 11:14
Compare
Choose a tag to compare

Handling of expected and unexpected task cancellation