Skip to content

Commit

Permalink
RN 0.62.3 -> 0.74.1 for library
Browse files Browse the repository at this point in the history
Gradle 3.0 -> 8.6
compileSdkVersion 31 -> 34
  • Loading branch information
scarlac committed May 15, 2024
1 parent 21f7601 commit 79ccbb0
Show file tree
Hide file tree
Showing 17 changed files with 313 additions and 352 deletions.
2 changes: 2 additions & 0 deletions .bundle/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
BUNDLE_PATH: "vendor/bundle"
BUNDLE_FORCE_RUBY_PLATFORM: 1
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
root: true,
extends: '@react-native-community',
extends: '@react-native',
plugins: ['import'],
rules: {
// disabled rules
Expand Down
89 changes: 0 additions & 89 deletions .flowconfig

This file was deleted.

24 changes: 12 additions & 12 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
module.exports = {
tabs: false,
tabWidth: 2,
bracketSpacing: true,
singleQuote: true,
trailingComma: 'all',
printWidth: 120,
semi: true,
jsxBracketSameLine: false,
jsxSingleQuote: false,
arrowParens: 'always',
};
arrowParens: 'always',
bracketSameLine: true,
tabs: false,
tabWidth: 2,
bracketSpacing: true,
singleQuote: true,
trailingComma: 'all',
printWidth: 120,
semi: true,
jsxBracketSameLine: false,
jsxSingleQuote: false,
};
8 changes: 4 additions & 4 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ android {
namespace "com.rncamerakit"
}

compileSdkVersion 31
compileSdkVersion = 34
defaultConfig {
minSdkVersion 24
minSdkVersion = 24
// noinspection ExpiredTargetSdkVersion
targetSdkVersion 30
targetSdkVersion = 34
versionCode 1
versionName "1.0"
ndk {
Expand All @@ -26,7 +26,7 @@ android {
dependencies {
implementation 'com.facebook.react:react-native:+'
implementation group: 'com.drewnoakes', name: 'metadata-extractor', version: '2.18.0'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"

// CameraX core library using the camera2 implementation
def camerax_version = "1.1.0"
Expand Down
4 changes: 3 additions & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-all.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading

0 comments on commit 79ccbb0

Please sign in to comment.