Marc Rousavy
25b10b7106
Remove scannable codes stuff
2021-03-31 14:39:17 +02:00
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
cd180dc73b
Set automaticallyConfiguresApplicationAudioSession = false
2021-03-29 13:18:02 +02:00
Marc Rousavy
8825a54342
Fix automatically configures application audio session
2021-03-29 11:43:01 +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
1558dd2f15
Error when Audio Input is in use by another app ( #111 )
...
* Remove Audio Device if it failed to configure
* Add `audio-in-use-by-other-app` error
* Try removing on interruption
* Format code
* Make error more clear
2021-03-29 11:32:00 +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
db8960580f
Feature/supports focus ( #72 )
...
* Add `supportsFocus` prop to CameraDevice
* Add true-depth camera again
* Revert "Add true-depth camera again"
This reverts commit 5814b8ca7a15b3273ff29498144bb352619a4c1d.
2021-03-17 18:07:05 +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
9f30348053
Filter out true-depth-camera in getAvailableCameraDevices
2021-03-17 15:30:17 +01:00
Marc Rousavy
c8bf67edc9
Update AVFrameRateRange+includes.swift
2021-03-11 19:47:51 +01:00
Marc Rousavy
3de4675592
Add "check-all" script
2021-03-09 12:19:18 +01:00
Marc Rousavy
64bb6f6a2a
Run SwiftFormat in GH Action ( #28 )
2021-03-09 10:53:29 +01:00
Marc Rousavy
796b4f1b98
Fix wrong variable name for tag
2021-02-25 15:15:35 +01:00
Marc Rousavy
33619a800d
Add a few more SwiftLint rules
2021-02-25 14:38:38 +01:00
Marc Rousavy
13f11975cc
SwiftLint: Enable all performance rules
2021-02-25 14:24:52 +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
d05525ad01
Fix 2 SwiftLint errors
2021-02-25 14:03:52 +01:00
Marc Rousavy
84f9709399
Update .swiftlint.yml
2021-02-25 14:03:41 +01:00
Marc Rousavy
d1a2eddf47
iOS: Autofix in SwiftLint
2021-02-25 13:59:50 +01:00
Marc Rousavy
934106e837
ErrorWithCause: add .code and .domain
2021-02-23 15:59:07 +01:00
Marc Rousavy
3157341a0e
update readme
2021-02-23 12:32:03 +01:00
Marc Rousavy
d1ca7f0177
Revert "Revert "Require SwiftLint for VisionCamera.xcodeproj""
...
This reverts commit 3e2ee6c959
.
2021-02-23 12:29:52 +01:00
Marc Rousavy
5654411505
Create .swiftlint.yml
2021-02-23 12:27:40 +01:00
Marc Rousavy
8079592fbf
Create README.md
2021-02-23 12:04:27 +01:00
Marc Rousavy
3e2ee6c959
Revert "Require SwiftLint for VisionCamera.xcodeproj"
...
This reverts commit 9a6af95c92
.
2021-02-23 12:00:00 +01:00
Marc Rousavy
9a6af95c92
Require SwiftLint for VisionCamera.xcodeproj
2021-02-23 11:57:52 +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
3597fa949d
Pin SWIFT_VERSION to 5.2
2021-02-19 17:55:37 +01:00
Marc Rousavy
65a9cbfb73
bump to iOS 11.0
2021-02-19 16:59:39 +01:00
Marc Rousavy
61b6b73377
iOS Optimizations
2021-02-19 16:31:19 +01:00
Marc Rousavy
2e5eb15d99
Update project.pbxproj
2021-02-19 16:30:00 +01:00
Marc Rousavy
bb6d18fac9
Deploy to 9
2021-02-19 16:29:56 +01:00
Marc Rousavy
00c8970366
Add iOS
2021-02-19 16:28:05 +01:00
Marc Rousavy
c04a4b72be
Bootstrap
2021-02-19 16:07:53 +01:00