Compare commits
No commits in common. "edfb83def49d33c8ebddbed5ff0f3ab3a9e94bc0" and "93ed50761e4da0f2a0807fa557a1368f00d18924" have entirely different histories.
edfb83def4
...
93ed50761e
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -85,7 +85,7 @@ pipeline {
|
||||||
sshagent(["${params.GIT_CREDENTIAL_ID}"]) {
|
sshagent(["${params.GIT_CREDENTIAL_ID}"]) {
|
||||||
nodejs(nodeJSInstallationName: "${params.NODEJS_INSTALLATION}") {
|
nodejs(nodeJSInstallationName: "${params.NODEJS_INSTALLATION}") {
|
||||||
withCredentials([
|
withCredentials([
|
||||||
string(credentialsId: params.ANDROID_API_KEY_CREDENTIAL, variable: 'GOOGLE_APPLICATION_CREDENTIALS')
|
file(credentialsId: params.ANDROID_API_KEY_CREDENTIAL, variable: 'GOOGLE_APPLICATION_CREDENTIALS')
|
||||||
]) {
|
]) {
|
||||||
sh './tools/jenkins-publish-android.sh'
|
sh './tools/jenkins-publish-android.sh'
|
||||||
}
|
}
|
||||||
|
|
17
README.md
17
README.md
|
@ -3,23 +3,21 @@
|
||||||
An embedded webview
|
An embedded webview
|
||||||
|
|
||||||
Build-time env config:
|
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
|
APP_TITLE=The app title which does not appear used much
|
||||||
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:
|
Pass them to dart usign --dart-define:
|
||||||
`--dart-define="APP_TITLE=test" --dart-define="APP_URI=https://www.charlyghislain.com"`
|
`--dart-define="APP_TITLE=test" --dart-define="APP_URI=https://www.charlyghislain.com"`
|
||||||
|
|
||||||
Pass those flags to flutter run, ...
|
Pass those flags to flutter run, ...
|
||||||
|
|
||||||
See jenkinsfile.
|
|
||||||
|
|
||||||
## To publish on app store
|
## To publish on app store
|
||||||
|
|
||||||
- Fork this repo
|
- Clone this repo
|
||||||
- Alter the android and ios config to your liking, package name, key etc
|
- Alter the android and ios config to your liking, package name, key etc
|
||||||
- Push your branding changes to another repo
|
- Publish
|
||||||
- Set up the jenkins job
|
|
||||||
- Merge upstream changes regularly
|
|
||||||
|
|
||||||
|
|
||||||
## Adnroid checklist:
|
## Adnroid checklist:
|
||||||
|
@ -37,4 +35,5 @@ A few resources to get you started if this is your first Flutter project:
|
||||||
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)
|
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)
|
||||||
|
|
||||||
For help getting started with Flutter, view our
|
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.
|
||||||
|
|
Reference in New Issue
Block a user