Marc Rousavy
4ea636e0d0
Automatically handle Audio interruptions ( #113 )
...
* Remove audio device when interruption begins
* Remove ReactLogger:alsoLogToJS
* Fix ReactLogger.logJS calls
* Fix `AVCaptureSessionInterruptionReasonKey` cast
2021-03-29 14:12:04 +02:00
Marc Rousavy
66b93181e1
Remove code scanning ( #112 )
...
* Remove Audio Device if it failed to configure
* Add `audio-in-use-by-other-app` error
* Try removing on interruption
* Format code
* Remove code scanning
* Fix export
2021-03-29 11:34:35 +02:00
Marc Rousavy
b25cf6a04f
Refactor lifecycle vars
2021-03-26 16:28:08 +01:00
Marc Rousavy
9404b93dc3
Extract AVCaptureSession
and AVAudioSession
setup to extensions
2021-03-26 16:20:57 +01:00
Marc Rousavy
56c67f25c7
Pause/Resume Audio Session on interruption
2021-03-26 16:10:12 +01:00
Marc Rousavy
8066f3fb53
Allow Haptic Feedback and System Sounds while recording
2021-03-26 15:58:08 +01:00
Marc Rousavy
750af31a80
Don't localize error messages
2021-03-26 15:54:27 +01:00
Marc Rousavy
6bc31d922e
Fix high-definition bluetooth audio background playback
2021-03-26 15:22:27 +01:00
Marc Rousavy
35806ff660
Upgrade Example to RN 0.64 ( #83 )
...
* ReactLogger: Also log function
* Run SwiftFormat & SwiftLint in example project
* Upgrade to RN 0.64 1/2
* Update lockfiles
* Upgrade a few packages
* index.tsx -> index.js
* Upgrade docusaurus
* Fix line length violation
* Update CameraView.swift
* Update gradle plugin
* Fix example to prefer higher res cameras
* Remove unused log line
* Update App.tsx
2021-03-19 15:53:19 +01:00
mrousavy
89a35812f7
Remove a few TODOs
2021-03-17 19:29:03 +01:00
Marc Rousavy
8eb8dbeb6a
Fix SwiftLint/SwiftFormat errors
2021-03-17 17:39:11 +01:00
Marc Rousavy
c568b7cf40
Fix/unknown runtime error ( #71 )
...
* Add a few more log statements
* Log one more prop
* Configure audio session before activating camera
2021-03-17 16:37:31 +01:00
Marc Rousavy
64fcf9f069
Fix check-all script
2021-03-17 15:35:49 +01:00
Marc Rousavy
64bb6f6a2a
Run SwiftFormat in GH Action ( #28 )
2021-03-09 10:53:29 +01:00
Marc Rousavy
c6ccae0cf2
SwiftLint: Fix force_cast
2021-02-25 14:07:46 +01:00
Marc Rousavy
4d7b8a01f5
Fix a few more SwiftLint errors
2021-02-25 14:05:20 +01:00
Marc Rousavy
934106e837
ErrorWithCause: add .code and .domain
2021-02-23 15:59:07 +01:00
Marc Rousavy
18fe544e85
Fallback to auto-audio-setup
2021-02-23 10:30:09 +01:00
Marc Rousavy
49e5dd67dc
Manually setup AVAudioSession (allow background music playback)
2021-02-23 10:27:31 +01:00
Marc Rousavy
00c8970366
Add iOS
2021-02-19 16:28:05 +01:00