mirror of
https://github.com/tooot-app/app
synced 2025-01-26 16:35:17 +01:00
Fix Android building fail
This commit is contained in:
parent
ea0b85365e
commit
8f8b7b41b9
@ -79,7 +79,6 @@ import com.android.build.OutputFile
|
||||
|
||||
project.ext.react = [
|
||||
enableHermes: (findProperty('expo.jsEngine') ?: "jsc") == "hermes",
|
||||
cliPath: new File(["node", "--print", "require.resolve('react-native/package.json')"].execute().text.trim(), "../cli.js")
|
||||
]
|
||||
|
||||
apply from: new File(["node", "--print", "require.resolve('react-native/package.json')"].execute().text.trim(), "../react.gradle")
|
||||
|
@ -123,7 +123,7 @@ private_lane :build_ios do
|
||||
end
|
||||
|
||||
desc "Build and deploy Android app"
|
||||
lane :build_android do
|
||||
private_lane :build_android do
|
||||
sh("echo #{ENV["ANDROID_KEYSTORE"]} | base64 -d | tee #{File.expand_path('..', Dir.pwd)}/android/tooot.jks >/dev/null", log: false)
|
||||
|
||||
case ENVIRONMENT
|
||||
|
@ -19,7 +19,7 @@
|
||||
"android": "react-native run-android",
|
||||
"iphone": "react-native run-ios",
|
||||
"ipad": "react-native run-ios --simulator 'iPad mini (6th generation)'",
|
||||
"app:build": "bundle exec fastlane build_android",
|
||||
"app:build": "bundle exec fastlane build",
|
||||
"release": "scripts/release.sh",
|
||||
"clean": "react-native-clean-project",
|
||||
"postinstall": "patch-package"
|
||||
|
Loading…
Reference in New Issue
Block a user