chore: Clean up Android codebase a bit (#1748)
<!--
❤️ Thank you for your contribution! ❤️
Make sure you have read the Contributing Guidelines:
https://github.com/mrousavy/react-native-vision-camera/blob/main/CONTRIBUTING.md
-->
## What
<!--
Enter a short description on what this pull-request does.
Examples:
This PR adds support for the HEVC format.
This PR fixes a "unsupported device" error on iPhone 8 and below.
This PR fixes a typo in a CameraError.
This PR adds support for Quadruple Cameras.
-->
## Changes
<!--
Create a short list of logic-changes.
Examples:
* This PR changes the default value of X to Y.
* This PR changes the configure() function to cache results.
-->
## Tested on
<!--
Create a short list of devices and operating-systems you have tested
this change on. (And verified that everything works as expected).
Examples:
* iPhone 11 Pro, iOS 14.3
* Huawai P20, Android 10
-->
## Related issues
<!--
Link related issues here.
Examples:
* Fixes #29
* Closes #30
* Resolves #5
-->
This commit is contained in:
20
.github/workflows/build-android.yml
vendored
20
.github/workflows/build-android.yml
vendored
@@ -6,19 +6,19 @@ on:
|
||||
- main
|
||||
paths:
|
||||
- '.github/workflows/build-android.yml'
|
||||
- 'cpp/**'
|
||||
- 'android/**'
|
||||
- 'example/android/**'
|
||||
- 'yarn.lock'
|
||||
- 'example/yarn.lock'
|
||||
- 'package/cpp/**'
|
||||
- 'package/android/**'
|
||||
- 'package/example/android/**'
|
||||
- 'package/yarn.lock'
|
||||
- 'package/example/yarn.lock'
|
||||
pull_request:
|
||||
paths:
|
||||
- '.github/workflows/build-android.yml'
|
||||
- 'cpp/**'
|
||||
- 'android/**'
|
||||
- 'example/android/**'
|
||||
- 'yarn.lock'
|
||||
- 'example/yarn.lock'
|
||||
- 'package/cpp/**'
|
||||
- 'package/android/**'
|
||||
- 'package/example/android/**'
|
||||
- 'package/yarn.lock'
|
||||
- 'package/example/yarn.lock'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
16
.github/workflows/build-ios.yml
vendored
16
.github/workflows/build-ios.yml
vendored
@@ -6,17 +6,17 @@ on:
|
||||
- main
|
||||
paths:
|
||||
- '.github/workflows/build-ios.yml'
|
||||
- 'cpp/**'
|
||||
- 'ios/**'
|
||||
- '*.podspec'
|
||||
- 'example/ios/**'
|
||||
- 'package/cpp/**'
|
||||
- 'package/ios/**'
|
||||
- 'package/*.podspec'
|
||||
- 'package/example/ios/**'
|
||||
pull_request:
|
||||
paths:
|
||||
- '.github/workflows/build-ios.yml'
|
||||
- 'cpp/**'
|
||||
- 'ios/**'
|
||||
- '*.podspec'
|
||||
- 'example/ios/**'
|
||||
- 'package/cpp/**'
|
||||
- 'package/ios/**'
|
||||
- 'package/*.podspec'
|
||||
- 'package/example/ios/**'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
8
.github/workflows/validate-android.yml
vendored
8
.github/workflows/validate-android.yml
vendored
@@ -6,13 +6,13 @@ on:
|
||||
- main
|
||||
paths:
|
||||
- '.github/workflows/validate-android.yml'
|
||||
- 'android/**'
|
||||
- '.editorconfig'
|
||||
- 'package/android/**'
|
||||
- 'package/.editorconfig'
|
||||
pull_request:
|
||||
paths:
|
||||
- '.github/workflows/validate-android.yml'
|
||||
- 'android/**'
|
||||
- '.editorconfig'
|
||||
- 'package/android/**'
|
||||
- 'package/.editorconfig'
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
|
||||
4
.github/workflows/validate-ios.yml
vendored
4
.github/workflows/validate-ios.yml
vendored
@@ -6,11 +6,11 @@ on:
|
||||
- main
|
||||
paths:
|
||||
- '.github/workflows/validate-ios.yml'
|
||||
- 'ios/**'
|
||||
- 'package/ios/**'
|
||||
pull_request:
|
||||
paths:
|
||||
- '.github/workflows/validate-ios.yml'
|
||||
- 'ios/**'
|
||||
- 'package/ios/**'
|
||||
|
||||
jobs:
|
||||
SwiftLint:
|
||||
|
||||
Reference in New Issue
Block a user