Setup fastlane for both iOS and Android

This commit is contained in:
Lei Nelissen
2020-07-26 11:55:46 +02:00
parent 4d3f6f30d1
commit 218c72d9e8
6 changed files with 28 additions and 30 deletions
+1
View File
@@ -63,3 +63,4 @@ buck-out/
/ios/Pods/
build/
fastlane/report.xml
+1
View File
@@ -79,6 +79,7 @@ import com.android.build.OutputFile
project.ext.react = [
enableHermes: false, // clean and rebuild if changing
entryFile: 'index.ts'
]
apply from: "../../node_modules/react-native/react.gradle"
+2
View File
@@ -0,0 +1,2 @@
package_name("org.leinelissen.jellyfinaudioplayer")
app_identifier("org.leinelissen.JellyfinAudioPlayer")
+23
View File
@@ -0,0 +1,23 @@
default_platform(:ios)
platform :ios do
lane :beta do
enable_automatic_code_signing
build_app(
scheme: "JellyfinAudioPlayer",
export_method: "development",
output_directory: "build",
workspace: "ios/JellyfinAudioPlayer.xcworkspace"
)
end
end
platform :android do
desc "Generate beta build"
lane :beta do
gradle(
task: "clean assembleRelease",
project_dir: "android"
)
end
end
-1
View File
@@ -1 +0,0 @@
app_identifier("org.leinelissen.JellyfinAudioPlayer") # The bundle identifier of your app
-28
View File
@@ -1,28 +0,0 @@
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
# https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
# https://docs.fastlane.tools/plugins/available-plugins
#
# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane
default_platform(:ios)
platform :ios do
lane :beta do
enable_automatic_code_signing
build_app(
scheme: "JellyfinAudioPlayer",
export_method: "development",
output_directory: "../build",
workspace: "JellyfinAudioPlayer.xcworkspace"
)
end
end