Commit Graph

336 Commits

Author SHA1 Message Date
Marc Rousavy
fe6221e4e0
docs: Add Worklets babel plugin to docs 2023-10-31 15:04:52 +01:00
Marc Rousavy
e1f8e1bd2a
docs: Add "Templates" to Format docs 2023-10-24 14:50:29 +02:00
Marc Rousavy
3929c0ac46
fix: Initialize Plugins in a static block of ReactPackage (#2039)
* fix: Initialize Plugins in a `static` block of ReactPackage

* fix: Also register FP Plugins in Example
2023-10-19 11:34:09 +02:00
Marc Rousavy
07027d8010
fix: Rename getFrameProcessorPlugin to initFrameProcessorPlugin (#2038)
* fix: Rename `getFrameProcessorPlugin` to `initFrameProcessorPlugin`

* fix: Make nullable, add comments

* Format

* Update FrameProcessorPlugin.java

* Update FrameProcessorPlugin.h

* fix: Fix dead links

* Call super constructor

* Update ExampleFrameProcessorPlugin.java

* fix: Init calls
2023-10-19 11:19:47 +02:00
Mateusz Mędrek
a291642c53
feat: Reintroduce Macros for Frame Processor Plugin registration (#2027)
in VisionCamera v1 & v2 there were two ObjC macros that were helping
in creation/registration of Frame Processors, but these were removed with
v3

This PR reintroduces such macros, which will not only make FP development
easier, but also it will also fix issues people had with registration of
Swift Frame Processors (+load vs +initialize issues)

Docs were also updated to reflect that the macros should be used to
correctly initialize and register ObjC/Swift Frame Processors
2023-10-19 10:35:14 +02:00
Marc Rousavy
e845dc8397
Update .gitattributes 2023-10-18 11:30:01 +02:00
Marc Rousavy
b4960d1e5f
Update .gitattributes 2023-10-17 15:04:06 +02:00
Marc Rousavy
3b1d8353a5
chore: Add .gitattributes 2023-10-16 18:07:04 +02:00
Marc Rousavy
8884a1c3e4
docs: Update phrasing 2023-10-16 13:40:52 +02:00
Marc Rousavy
208d737e9d
docs: Update meta tags 2023-10-16 13:37:09 +02:00
Marc Rousavy
53475dc1f3
docs: Use wrong index again 2023-10-16 13:24:08 +02:00
Marc Rousavy
54871022f4
docs: Use correct index 2023-10-12 10:15:01 +02:00
Marc Rousavy
92c27b06ae Update DEVICES.mdx 2023-10-06 11:53:13 +02:00
Marc Rousavy
36e9e00930
docs: Add **Flash** documentation 2023-10-05 16:40:15 +02:00
Marc Rousavy
658695dca5
docs: Use smaller title on mobile (#1928) 2023-10-05 14:50:36 +02:00
Nate Krieger
b14958b1b0
docs: Fix closing xml tag for CodeScanner docs (#1918)
* add full list of supported codes to example and add closing xml tag

* Revert exhaustive code list in example

---------

Co-authored-by: Nate Krieger <nate.krieger@traxero.co>
2023-10-05 14:48:30 +02:00
Marc Rousavy
ffd64feee8 feat: Add enableCodeScanner to Expo Config Plugin 2023-10-05 11:06:38 +02:00
Marc Rousavy
59699929f4 fix: Use minSdkVersion of 26 again 2023-10-05 10:56:30 +02:00
Marc Rousavy
93019c37e6 docs: Update example 2023-10-04 13:00:23 +02:00
Marc Rousavy
889b37d063 docs: Update links 2023-10-04 12:57:30 +02:00
Marc Rousavy
5efaefee98 docs: Update QR Code references 2023-10-04 12:56:47 +02:00
Marc Rousavy
6640b72a00
feat: Code Scanner API (#1912)
* feat: CodeScanner JS API

* feat: iOS

* Use guard

* Format

* feat: Android base

* fix: Attach Surfaces

* Use isBusy var

* fix: Use separate Queue

* feat: Finish iOS types

* feat: Implement all other code types on Android

* fix: Call JS event

* fix: Pass codetypes on Android

* fix: iOS use Preview coordinate system

* docs: Add comments

* chore: Format code

* Update CameraView+AVCaptureSession.swift

* docs: Add Code Scanner docs

* docs: Update

* feat: Use lazily downloaded model on Android

* Revert changes in CameraPage

* Format

* fix: Fix empty QR codes

* Update README.md
2023-10-04 12:53:52 +02:00
Marc Rousavy
e9b39924d7 docs: Add "Pixel Formats" documentation page 2023-10-03 14:35:26 +02:00
Marc Rousavy
324e269173
fix: Set minSdkVersion to 23 (#1911)
* fix: Set `minSdkVersion` to 21

* sorry I meant 23
2023-10-03 13:52:42 +02:00
Mateusz Mędrek
bdd81cf2fb
chore: Improve native Frame Processor Plugin documentation (#1877) 2023-10-03 11:36:55 +02:00
Marc Rousavy
b24b1c808f docs: Fix links 2023-10-03 11:31:37 +02:00
Shiran Gabriel
12c2987b85
doc: Code fixes on saving & getting the photo in TAKING_PHOTOS.mdx (#1896)
code fixes on saving & getting the photo in TAKING_PHOTOS.mdx

- The variable path has been renamed to file, as camera.current.takePhoto() always returns a file
- CameraRoll.save() method has been updated to use file.path for saving the captured photo.
- fetch() method has been updated to use file.path on getting captured photo as blob
2023-10-03 11:20:41 +02:00
Marc Rousavy
554b7416b1 docs: Update minSdkVersion to 26 2023-10-03 11:04:36 +02:00
Marc Rousavy
39b9c908f9 docs: Fix b 2023-09-30 15:34:31 +02:00
Lihang Xu
94c05f9113
docs: Add Dynamsoft Document Normalizer to the frame processor plugins lists (#1331)
Update FRAME_PROCESSOR_PLUGIN_LIST.mdx

Add Dynamsoft Document Normalizer.

Co-authored-by: Marc Rousavy <me@mrousavy.com>
2023-09-30 15:33:08 +02:00
Yasin Torun
3a080901a8
docs: Add vision-camera-base64 plugin to list (#1411)
* docs: Add vision-camera-base64 plugin to list

* chore: Update text

* Update FRAME_PROCESSOR_PLUGIN_LIST.mdx

---------

Co-authored-by: Marc Rousavy <me@mrousavy.com>
Co-authored-by: Marc Rousavy <marcrousavy@hotmail.com>
2023-09-30 15:32:03 +02:00
Marc Rousavy
ce07750dea docs: Fix runAsync example 2023-09-30 12:12:43 +02:00
Marc Rousavy
5a98716f31 docs: Update link colors 2023-09-29 19:28:38 +02:00
Marc Rousavy
fd6d52f1de docs: Fix search by disabling contextual search 2023-09-29 19:18:00 +02:00
Marc Rousavy
9bad0bb99e
Update RECORDING_VIDEOS.mdx 2023-09-29 16:53:24 +02:00
Marc Rousavy
902dc634a4
feat: Add customizable Video Bit Rate (videoBitRate) (#1882)
* feat: Add `videoBitRate` option to `RecordVideoOptions`

* feat: Implement `videoBitRate` on iOS

* feat: Implement `videoBitRate` on Android

* chore: Format

* docs: Separate recording and photo docs

* docs: Fix links

* docs: Add docs about bitrate and quality

* docs: Add blob

* fix: Don't use inline style for CI

* fix: Correctly log default bitRate

* fix: Fix typo

* fix: Calculate default bit-rate on Android depending on resolution

* Update RecordingSession.kt
2023-09-29 15:27:09 +02:00
Marc Rousavy
1c8c081e11 docs: Use updated Search index 2023-09-29 14:16:36 +02:00
Marc Rousavy
ad48823553 docs: Fix Algolia not working 2023-09-29 14:11:45 +02:00
Marc Rousavy
3d8d05302d docs: Add Community Discord 2023-09-27 17:40:15 +02:00
Marc Rousavy
eec9a3eb6e docs: Make images responsive 2023-09-27 12:21:34 +02:00
Marc Rousavy
bb7549bc01 docs: Fix highlight 2023-09-27 12:15:42 +02:00
Marc Rousavy
4830ba8bf6 docs: Fix hightlight line 2023-09-27 12:10:06 +02:00
Marc Rousavy
42d9948e8a docs: Fix codeblocks alignment 2023-09-26 14:48:10 +02:00
Marc Rousavy
2c5c7d63b1
docs: Don't use bold links (#1860) 2023-09-26 14:42:22 +02:00
Ben Schlegel
04fd597866
docs: Fix docusaurus code block styling (#1859) 2023-09-26 14:20:24 +02:00
Marc Rousavy
8a7e45d6c6
docs: New default color (#1857)
* docs: New default color

* fix: Adjust codeblocks

* highlight color
2023-09-26 14:20:05 +02:00
Marc Rousavy
b75abd591a Add border radius to images 2023-09-26 13:16:35 +02:00
Marc Rousavy
688963954a
docs: Align Images perfectly on mobile (#1856)
* docs: Use Light codeblocks theme

* docs: Fix image align

* fix pixels

* fix: Adjust all images
2023-09-26 13:09:44 +02:00
Marc Rousavy
cc88de3926
docs: Use Light codeblocks theme (#1853) 2023-09-26 13:09:11 +02:00
Marc Rousavy
14721d314f
chore: Remove semicolons (#1846)
* chore: Disable `semi` in Prettier

* chore: Format w/o semi

* Remove more `;`

* Lint example

* More ;
2023-09-26 11:39:17 +02:00