From 554bd1b10aeae1818dd6d7f860169ab56a7b3a1f Mon Sep 17 00:00:00 2001 From: cghislai Date: Sun, 28 Nov 2021 16:41:26 +0100 Subject: [PATCH 1/2] Update readme --- README.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 5ff593a..16aa1cc 100644 --- a/README.md +++ b/README.md @@ -3,21 +3,23 @@ An embedded webview Build-time env config: -APP_TITLE=The app title which does not appear used much -APP_URI=THe uri to load -APP_COLOR=The color to use a theme that does not appear used much - +APP_TITLE=The app title which does not appear used much APP_URI=THe uri to load APP_COLOR=The color to use a theme that does not appear used +much Pass them to dart usign --dart-define: `--dart-define="APP_TITLE=test" --dart-define="APP_URI=https://www.charlyghislain.com"` Pass those flags to flutter run, ... +See jenkinsfile. + ## To publish on app store -- Clone this repo +- Fork this repo - Alter the android and ios config to your liking, package name, key etc -- Publish +- Push your branding changes to another repo +- Set up the jenkins job +- Merge upstream changes regularly ## Getting Started @@ -29,5 +31,4 @@ A few resources to get you started if this is your first Flutter project: - [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook) For help getting started with Flutter, view our -[online documentation](https://flutter.dev/docs), which offers tutorials, -samples, guidance on mobile development, and a full API reference. +[online documentation](https://flutter.dev/docs), which offers tutorials, samples, guidance on mobile development, and a full API reference. From 76349d4b422db462ac57d4d13368f5f7ef1108d4 Mon Sep 17 00:00:00 2001 From: cghislai Date: Sun, 28 Nov 2021 16:44:33 +0100 Subject: [PATCH 2/2] Fix --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 8d3512b..bb8f982 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -85,7 +85,7 @@ pipeline { sshagent(["${params.GIT_CREDENTIAL_ID}"]) { nodejs(nodeJSInstallationName: "${params.NODEJS_INSTALLATION}") { withCredentials([ - file(credentialsId: params.ANDROID_API_KEY_CREDENTIAL, variable: 'GOOGLE_APPLICATION_CREDENTIALS') + string(credentialsId: params.ANDROID_API_KEY_CREDENTIAL, variable: 'GOOGLE_APPLICATION_CREDENTIALS') ]) { sh './tools/jenkins-publish-android.sh' }