earshot_capture_darwin
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
NSMicrophoneUsageDescriptiontoInfo.plist. On macOS, also add thecom.apple.security.device.audio-inputentitlement. - Android:
RECORD_AUDIOis merged into your app's manifest byearshot_capture_android. Your app still asks the user at runtime.
Libraries
- earshot_capture_darwin
- The iOS and macOS implementation of
earshot_capture.