Commit Graph

714 Commits

Author SHA1 Message Date
Marc Rousavy
01104e0932 Update BUG_REPORT.yml 2021-07-14 13:57:09 +02:00
Marc Rousavy
22ed8ecbcc chore: Use device for BUG REPORT 2021-07-14 13:55:53 +02:00
Marc Rousavy
b222acc331 chore: Update CONTRIBUTING guidelines 2021-07-14 13:17:16 +02:00
Bartosz Kaszubowski
4dac6061c3
chore: cleanup the ESLint setup (#276) 2021-07-14 13:04:17 +02:00
Marc Rousavy
64c105b369 Update FEATURE_REQUEST.yml 2021-07-14 11:34:09 +02:00
Marc Rousavy
3f819c9e93 Update QUESTION.yml 2021-07-14 11:33:16 +02:00
Marc Rousavy
292883ce76 Update QUESTION.yml 2021-07-14 11:31:57 +02:00
Marc Rousavy
f7a1961d6b update issue templates 2021-07-14 11:31:03 +02:00
Marc Rousavy
f840ce2cd4 docs: Make Feature Request an issue template 2021-07-14 11:23:56 +02:00
Marc Rousavy
56a723a1a7
Update config.yml 2021-07-14 11:18:35 +02:00
Marc Rousavy
c653fddec1
Update BUG_REPORT.yml 2021-07-14 11:17:32 +02:00
Marc Rousavy
3f3a2ec5ae
Update BUG_REPORT.yml 2021-07-14 11:09:35 +02:00
Marc Rousavy
1e0c29a8e3
Update BUG_REPORT.yml 2021-07-14 11:09:15 +02:00
Marc Rousavy
05597f86e0
Update BUG_REPORT.yml 2021-07-14 11:08:54 +02:00
Marc Rousavy
6418b0f920
Update BUG_REPORT.yml 2021-07-14 11:08:43 +02:00
Marc Rousavy
901339aaf3
Update BUG_REPORT.yml 2021-07-14 11:07:55 +02:00
Marc Rousavy
a14350b60b
Update BUG_REPORT.yml 2021-07-14 11:04:41 +02:00
Marc Rousavy
76e92121af
Delete BUG_REPORT.md 2021-07-14 11:03:48 +02:00
Marc Rousavy
4d900e144d
Create config.yml 2021-07-14 11:03:24 +02:00
Marc Rousavy
0e420ce60c
Create BUG_REPORT.yml 2021-07-14 11:00:26 +02:00
Marc Rousavy
61cef7526f
fix: Fix expo plugin import path 2021-07-12 18:02:28 +02:00
Marc Rousavy
4b4ea0ff33
fix: Fix UI Thread race condition in setFrameProcessor(...) (#265)
* fix: Fix UI Thread race condition in `setFrameProcessor(...)`

* Revert "fix: Fix UI Thread race condition in `setFrameProcessor(...)`"

This reverts commit 9c524e123cff6843d7d11db602a5027d1bb06b4b.

* Use `setImmediate` to call `setFrameProcessor(...)`

* Fix frame processor order of applying

* Add `enableFrameProcessor` prop that defines if a FP is added

* rename constant

* Implement `enableFrameProcessor` prop for Android and make `frameProcessorFps` faster

* link to troubleshooting guide

* Update TROUBLESHOOTING.mdx

* Add logs for use-cases

* fix log

* set initial frame processor in `onLayout` instead of `componentDidMount`
2021-07-12 15:16:03 +02:00
Marc Rousavy
7acae0c8a8 chore: release 2.4.2-beta.9 2021-07-12 08:53:03 +02:00
Marc Rousavy
e8a9a43064 fix: Fix app.plugin.js not being included in npm package 2021-07-12 08:52:31 +02:00
Marc Rousavy
25ac233088
Update FRAME_PROCESSORS.mdx 2021-07-09 10:21:02 +02:00
Marc Rousavy
cf96a6a9e6
Update FRAME_PROCESSORS_CREATE_OVERVIEW.mdx 2021-07-08 16:56:35 +02:00
Marc Rousavy
6f10188037
docs: Use Java in FPP "Overview" for simplicity (#266)
* Add android tab for docs

* Update FRAME_PROCESSORS_CREATE_OVERVIEW.mdx

* Add Objective-C

* Only use Java for examples (that's simpler to understand)

* Add Exceptions docs
2021-07-08 16:05:51 +02:00
Marc Rousavy
9ef2496a7a
Update FRAME_PROCESSORS.mdx 2021-07-08 14:23:30 +02:00
Marc Rousavy
a62697fe2a
Update FRAME_PROCESSORS.mdx 2021-07-08 14:22:56 +02:00
Marc Rousavy
cf68a4c647
docs: Explain Frame Processor benefits more 2021-07-08 14:17:10 +02:00
Marc Rousavy
5b75ce0dfb
Update TROUBLESHOOTING.mdx 2021-07-08 12:05:29 +02:00
Marc Rousavy
63cc806bd6
docs: Update Android TROUBLESHOOTING 2021-07-08 12:03:00 +02:00
Marc Rousavy
1033610382 chore: release 2.4.2-beta.8 2021-07-08 11:16:25 +02:00
Marc Rousavy
66f22d7b21 fix: Only extract either JSC or Hermes REA .aar 2021-07-08 11:12:26 +02:00
Marc Rousavy
4fb7803574 chore: Fix Android npm files 2021-07-08 11:07:50 +02:00
Marc Rousavy
89110dc481 Ignore app.plugin.js with ESLint 2021-07-08 11:04:48 +02:00
Marc Rousavy
06911495f1 fix: TS error 2021-07-08 11:04:05 +02:00
Marc Rousavy
ba08b4dfce chore: Format Swift 2021-07-08 11:01:02 +02:00
Marc Rousavy
5126dd63b4 feat: Make videoWidth and videoHeight available on all devices 2021-07-08 10:59:27 +02:00
Marc Rousavy
b2f3c08a07
fix: Distribute Android code as source (#234)
* Build Android as source

* more reliably find `enableHermes`
2021-07-08 10:52:14 +02:00
dependabot[bot]
349b1146b0
chore(deps-dev): bump @types/react from 17.0.11 to 17.0.13 (#254)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 17.0.11 to 17.0.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-08 10:51:34 +02:00
dependabot[bot]
63053f8650
chore(deps): bump gradle-download-task from 4.1.1 to 4.1.2 in /android (#262)
Bumps [gradle-download-task](https://github.com/michel-kraemer/gradle-download-task) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/michel-kraemer/gradle-download-task/releases)
- [Commits](https://github.com/michel-kraemer/gradle-download-task/compare/4.1.1...4.1.2)

---
updated-dependencies:
- dependency-name: de.undercouch:gradle-download-task
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-08 10:50:38 +02:00
dependabot[bot]
39fb4e0cd3
chore(deps-dev): bump metro-react-native-babel-preset in /example (#247)
Bumps [metro-react-native-babel-preset](https://github.com/facebook/metro) from 0.66.0 to 0.66.1.
- [Release notes](https://github.com/facebook/metro/releases)
- [Changelog](https://github.com/facebook/metro/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/metro/compare/v0.66.0...v0.66.1)

---
updated-dependencies:
- dependency-name: metro-react-native-babel-preset
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-07 16:20:57 +02:00
dependabot[bot]
7661aea442
chore(deps): bump @docusaurus/preset-classic in /docs (#250)
Bumps [@docusaurus/preset-classic](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-preset-classic) from 2.0.0-beta.2 to 2.0.0-beta.3.
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v2.0.0-beta.3/packages/docusaurus-preset-classic)

---
updated-dependencies:
- dependency-name: "@docusaurus/preset-classic"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-07 16:17:27 +02:00
Marc Rousavy
a4397e1978 docs: Update expo install docs 2021-07-07 16:13:15 +02:00
Marc Rousavy
b40d3ddc6b docs: Update expo getting started docs 2021-07-07 16:06:01 +02:00
Marc Rousavy
2f889f5855
fix: Fix hot-reload crash caused by Frame Processor Runtime being initialized twice (#258)
* Fix Frame Processor Runtime being initialized twice causing a hot-reload to crash

* Remove unnecessary `HasRegisteredPlugins` singleton

* make non-optional

* `REACT_CLASS` -> `TAG`

* fix nullable
2021-07-07 15:00:32 +02:00
Marc Rousavy
d3a8b49f9b
feat: Expo support (#260)
* Create `withVisionCamera` plugin

* Add docs for setting up Expo

* Update SETUP.mdx

* Update app.config.js

* rename config -> plugin

* Update SETUP.mdx

* add "runs with expo" badge to README

* Revert "add "runs with expo" badge to README"

This reverts commit e05a87a2354a056432af7b94060e95df37077472.

* fix `withVisionCamera` path

* remove unnecessary type docs
2021-07-07 14:55:25 +02:00
Marc Rousavy
3007cd9430 fix: Add @Keep annotation to prevent minifier from deleting java funcs 2021-07-07 13:18:38 +02:00
Marc Rousavy
7a5e879b92 fix: Fix lint error for missing JNI func (3) 2021-07-07 13:17:41 +02:00