Skip to content

Commit

Permalink
expo config setup init
Browse files Browse the repository at this point in the history
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
  • Loading branch information
williscool committed Oct 11, 2023
1 parent b038083 commit 18e5aeb
Show file tree
Hide file tree
Showing 9 changed files with 1,129 additions and 400 deletions.
6 changes: 5 additions & 1 deletion android/.idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions android/.idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion android/.idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ apply plugin: "com.facebook.react"

android {
compileSdkVersion 31
buildToolsVersion '31.0.0'

defaultConfig {
applicationId "com.github.quarck.calnotify"
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
ext.kotlin_version = '1.7.20'
ext.kotlin_version = '1.8.20'
repositories {
google()
jcenter()
Expand Down
2 changes: 1 addition & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
4 changes: 2 additions & 2 deletions android/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
include ':app'
includeBuild('../node_modules/@react-native/gradle-plugin')
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
includeBuild('../node_modules/react-native-gradle-plugin')
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
18 changes: 13 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,25 @@
},
"dependencies": {
"@jest/globals": "^29.6.4",
"@react-native-picker/picker": "^2.4.10",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.90",
"@swc/jest": "^0.2.29",
"await-to-js": "^3.0.0",
"dotenv": "^16.3.1",
"execa": "^8.0.1",
"install-expo-modules": "^0.6.4",
"log4js": "^6.9.1",
"react": "18.2.0",
"react-native": "^0.72.5",
"react-native": "0.71.13",
"rn-game-over": "^1.1.0",
"swc-node": "^1.0.0",
"typed-emitter": "^2.1.0"
},
"devDependencies": {
"@react-native/js-polyfills": "^0.73.1",
"@react-native/metro-babel-transformer": "^0.73.11-nightly-20230807-f9a63ec00",
"@react-native/metro-config": "^0.73.1",
"@react-native/js-polyfills": "^0.74.0",
"@react-native/metro-babel-transformer": "^0.74.0",
"@react-native/metro-config": "^0.74.0",
"@swc-node/register": "^1.6.7",
"@tsconfig/react-native": "^3.0.2",
"@types/jest": "^29.5.5",
Expand All @@ -44,5 +46,11 @@
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
},
"packageManager": "[email protected]"
"packageManager": "[email protected]",
"expo": {
"jsEngine": "hermes",
"ios": {
"jsEngine": "jsc"
}
}
}
Loading

0 comments on commit 18e5aeb

Please sign in to comment.