Skip to content

Commit 18e5aeb

Browse files
committed
expo config setup init
MAN THAT WAS HARD! had to - downgrade react-native to 0.71 - upgrade kotlin to 1.8 - downgrade gradle to 7.6 - change the location of @react-native/gradle-plugin to react-native-gradle-plugin - setup the expo config to use the hermes compiler (not mention in doc :/ ) facebook/react-native#38179 expo/expo#22008
1 parent b038083 commit 18e5aeb

File tree

9 files changed

+1129
-400
lines changed

9 files changed

+1129
-400
lines changed

android/.idea/compiler.xml

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

android/.idea/gradle.xml

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

android/.idea/kotlinc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

android/app/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ apply plugin: "com.facebook.react"
2121

2222
android {
2323
compileSdkVersion 31
24-
buildToolsVersion '31.0.0'
2524

2625
defaultConfig {
2726
applicationId "com.github.quarck.calnotify"

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22

33
buildscript {
4-
ext.kotlin_version = '1.7.20'
4+
ext.kotlin_version = '1.8.20'
55
repositories {
66
google()
77
jcenter()
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

android/settings.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
include ':app'
2-
includeBuild('../node_modules/@react-native/gradle-plugin')
3-
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
2+
includeBuild('../node_modules/react-native-gradle-plugin')
3+
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)

package.json

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,25 @@
77
},
88
"dependencies": {
99
"@jest/globals": "^29.6.4",
10+
"@react-native-picker/picker": "^2.4.10",
1011
"@swc/cli": "^0.1.62",
1112
"@swc/core": "^1.3.90",
1213
"@swc/jest": "^0.2.29",
1314
"await-to-js": "^3.0.0",
1415
"dotenv": "^16.3.1",
1516
"execa": "^8.0.1",
17+
"install-expo-modules": "^0.6.4",
1618
"log4js": "^6.9.1",
1719
"react": "18.2.0",
18-
"react-native": "^0.72.5",
20+
"react-native": "0.71.13",
1921
"rn-game-over": "^1.1.0",
2022
"swc-node": "^1.0.0",
2123
"typed-emitter": "^2.1.0"
2224
},
2325
"devDependencies": {
24-
"@react-native/js-polyfills": "^0.73.1",
25-
"@react-native/metro-babel-transformer": "^0.73.11-nightly-20230807-f9a63ec00",
26-
"@react-native/metro-config": "^0.73.1",
26+
"@react-native/js-polyfills": "^0.74.0",
27+
"@react-native/metro-babel-transformer": "^0.74.0",
28+
"@react-native/metro-config": "^0.74.0",
2729
"@swc-node/register": "^1.6.7",
2830
"@tsconfig/react-native": "^3.0.2",
2931
"@types/jest": "^29.5.5",
@@ -44,5 +46,11 @@
4446
"ts-node": "^10.9.1",
4547
"typescript": "^5.2.2"
4648
},
47-
"packageManager": "[email protected]"
49+
"packageManager": "[email protected]",
50+
"expo": {
51+
"jsEngine": "hermes",
52+
"ios": {
53+
"jsEngine": "jsc"
54+
}
55+
}
4856
}

0 commit comments

Comments
 (0)