earshot_capture_darwin

pub package style: very good analysis License: MIT

Warning

Pre-release (0.x). The public API may still change in 0.x. See the feature checklist for what works today.

The iOS and macOS implementation of earshot_capture, with Swift Package Manager and CocoaPods support. It is endorsed, so apps should depend on earshot_capture and get this package automatically.

Part of earshot: on-device ambient listening with no network access, where no audio leaves the device.

Microphone setup

Your app declares microphone access, not this package:

  • iOS and macOS: add NSMicrophoneUsageDescription to Info.plist. On macOS, also add the com.apple.security.device.audio-input entitlement.
  • Android: RECORD_AUDIO is merged into your app's manifest by earshot_capture_android. Your app still asks the user at runtime.

Libraries

earshot_capture_darwin
The iOS and macOS implementation of earshot_capture.