a0e063414a
* Bump gradle build-tools to 4.2.1 * Bump kotlinx coroutines to 1.5.0 * Bump Kotlin to 1.5.0 * Replace `jcenter` with `mavenCentral` * Upgrade Kotlin to 1.5.10 * Upgrade gradle plugin to 4.2.1 * Revert "Upgrade gradle plugin to 4.2.1" This reverts commit 0946110ff442ddd24f2f3f31e7587851d7626c9e. * Revert "Upgrade Kotlin to 1.5.10" This reverts commit 2b11c5c911397d1db1ea7a24fb8c8634a25b5c76. * Revert "Replace `jcenter` with `mavenCentral`" This reverts commit 3e40b516619067c0d9da1abf3cfeb9acb6102c71. |
||
---|---|---|
.. | ||
.settings | ||
gradle/wrapper | ||
src/main | ||
.editorconfig | ||
.project | ||
build.gradle | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
README.md |
android
This folder contains the Android-platform-specific code for react-native-vision-camera.
Prerequesites
- Install ktlint
brew install ktlint
Getting Started
It is recommended that you work on the code using the Example project (example/android/
), since that always includes the React Native header files, plus you can easily test changes that way.
You can however still edit the library project here by opening this folder with Android Studio.
Committing
Before committing, make sure that you're not violating the Kotlin codestyles. To do that, run the following command:
yarn check-android
This will also try to automatically fix any errors by re-formatting the Kotlin code.