earshot_capture_darwin 1.0.0
earshot_capture_darwin: ^1.0.0 copied to clipboard
The iOS and macOS implementation of earshot_capture, for on-device microphone capture and permission status.
earshot_capture_darwin #
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.