Skip to content

Commit cbf0d1f

Browse files
Merge pull request #167 from OpenDTU-App/upgrade-dependencies
2 parents fbe065f + 368acea commit cbf0d1f

File tree

15 files changed

+1200
-3114
lines changed

15 files changed

+1200
-3114
lines changed

.yarn/releases/yarn-4.4.0.cjs renamed to .yarn/releases/yarn-4.4.1.cjs

Lines changed: 174 additions & 174 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ enableGlobalCache: false
44

55
nodeLinker: node-modules
66

7-
yarnPath: .yarn/releases/yarn-4.4.0.cjs
7+
yarnPath: .yarn/releases/yarn-4.4.1.cjs

Gemfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ source 'https://rubygems.org'
33
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
44
ruby ">= 2.6.10"
55

6-
# Cocoapods 1.15 introduced a bug which break the build. We will remove the upper
7-
# bound in the template on Cocoapods with next React Native release.
8-
gem 'cocoapods', '>= 1.13', '< 1.15'
9-
gem 'activesupport', '>= 6.1.7.5', '< 7.1.0'
6+
# Exclude problematic versions of cocoapods and activesupport that causes build failures.
7+
gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
8+
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'

android/app/build.gradle

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"
99
*/
1010
react {
1111
/* Folders */
12-
// The root of your project, i.e. where "package.json" lives. Default is '..'
13-
// root = file("../")
14-
// The folder where the react-native NPM package is. Default is ../node_modules/react-native
15-
// reactNativeDir = file("../node_modules/react-native")
16-
// The folder where the react-native Codegen package is. Default is ../node_modules/@react-native/codegen
17-
// codegenDir = file("../node_modules/@react-native/codegen")
18-
// The cli.js file which is the React Native CLI entrypoint. Default is ../node_modules/react-native/cli.js
19-
// cliFile = file("../node_modules/react-native/cli.js")
12+
// The root of your project, i.e. where "package.json" lives. Default is '../..'
13+
// root = file("../../")
14+
// The folder where the react-native NPM package is. Default is ../../node_modules/react-native
15+
// reactNativeDir = file("../../node_modules/react-native")
16+
// The folder where the react-native Codegen package is. Default is ../../node_modules/@react-native/codegen
17+
// codegenDir = file("../../node_modules/@react-native/codegen")
18+
// The cli.js file which is the React Native CLI entrypoint. Default is ../../node_modules/react-native/cli.js
19+
// cliFile = file("../../node_modules/react-native/cli.js")
2020

2121
/* Variants */
2222
// The list of variants to that are debuggable. For those we're going to
@@ -50,6 +50,9 @@ react {
5050
//
5151
// The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map"
5252
// hermesFlags = ["-O", "-output-source-map"]
53+
54+
/* Autolinking */
55+
autolinkLibrariesWithApp()
5356
}
5457

5558
/**
@@ -72,7 +75,6 @@ def jscFlavor = 'org.webkit:android-jsc:+'
7275

7376
android {
7477
ndkVersion rootProject.ext.ndkVersion
75-
7678
buildToolsVersion rootProject.ext.buildToolsVersion
7779
compileSdk rootProject.ext.compileSdkVersion
7880

@@ -143,5 +145,3 @@ dependencies {
143145
implementation jscFlavor
144146
}
145147
}
146-
147-
apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)

android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
android:icon="@mipmap/ic_launcher"
1414
android:allowBackup="false"
1515
android:theme="@style/AppTheme"
16+
android:supportsRtl="true"
1617
android:usesCleartextTraffic="true"
1718
>
1819
<activity

android/build.gradle

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,16 @@ buildscript {
44
minSdkVersion = 23
55
compileSdkVersion = 34
66
targetSdkVersion = 34
7-
8-
// We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
97
ndkVersion = "26.1.10909125"
10-
kotlinVersion = "1.9.22"
8+
kotlinVersion = "1.9.24"
119
}
1210
repositories {
1311
google()
1412
mavenCentral()
15-
// maven { url 'https://plugins.gradle.org/m2/' }
1613
}
1714
dependencies {
1815
classpath("com.android.tools.build:gradle")
1916
classpath("com.facebook.react:react-native-gradle-plugin")
20-
// classpath("de.nanogiants:android-versioning:2.4.0")
2117
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
2218
}
2319
}

android/gradle.properties

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# Specifies the JVM arguments used for the daemon process.
1111
# The setting is particularly useful for tweaking memory settings.
1212
# Default value: -Xmx512m -XX:MaxMetaspaceSize=256m
13-
org.gradle.jvmargs=-Xmx4096m -XX:MaxMetaspaceSize=1024m
13+
org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m
1414

1515
# When configured, Gradle will run in incubating parallel mode.
1616
# This option should only be used with decoupled projects. More details, visit
@@ -21,7 +21,8 @@ org.gradle.jvmargs=-Xmx4096m -XX:MaxMetaspaceSize=1024m
2121
# Android operating system, and which are packaged with your app's APK
2222
# https://developer.android.com/topic/libraries/support-library/androidx-rn
2323
android.useAndroidX=true
24-
# Automatically convert third-party libraries to use AndroidX
24+
25+
# React Native Upgrade Guide says I should remove this, but when I do that, the app does not build anymore.
2526
android.enableJetifier=true
2627

2728
# Use this property to specify which architecture you want to build.
-19.8 KB
Binary file not shown.

android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-all.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

android/gradlew

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
# Darwin, MinGW, and NonStop.
5656
#
5757
# (3) This script is generated from the Groovy template
58-
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
58+
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
5959
# within the Gradle project.
6060
#
6161
# You can find Gradle at https://github.com/gradle/gradle/.

0 commit comments

Comments
 (0)