Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1431: Add app build config app #1654

Merged
merged 17 commits into from
Oct 16, 2024
Merged

Conversation

ztefanie
Copy link
Member

@ztefanie ztefanie commented Sep 30, 2024

Short description

Added app build config for koblenz

Proposed changes

  • added icons and images
  • added build config
  • added run configs for intellij
  • adjust build gradle
  • add koblenz german texts
  • added appstore and development profiles for koblenz zu apple and credentials repository
  • added xcode schemes and assets

Still open tasks due to currently still missing data will be done in #1653
Known issue, will be fixed in separate task: #1686

Testing

Start the app with koblenz flavour
check if deep link files are created properly
check on android and ios
check if correct intro screens and images / icons are displayed
check if correct publisher text is displayed
check if map is centered correctly to koblenz

Resolved issues

Fixes: #1431

@ztefanie ztefanie marked this pull request as ready for review October 16, 2024 07:18
Copy link
Member

@steffenkleinle steffenkleinle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on android, works as expected. What do you mean by "check that deeplink files are created"?

Comment on lines +1 to +5
export { default as buildConfigBayern } from "./bayern"
export { default as buildConfigKoblenz } from "./koblenz"
export type { DeeplLinkingConfig, BuildConfigType } from "./types"
export * from "./constants"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔧 I think your formatting is off (double vs single quotes).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same for other files. Shouldn't this be caught by the CI pipeline/prettier?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is quite inconsistent currently, as these ts files are unter /frontend and prettier is only in /administration. See e.g. build-config/bayern/index has also double quotes. I can adjust this, but i would prefer to do it in a separate PR, so this PR does not get too big.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh okay, thanks. Yes, then a separate PR makes sense.

frontend/build-configs/koblenz/index.ts Outdated Show resolved Hide resolved
frontend/build-configs/koblenz/index.ts Outdated Show resolved Hide resolved
frontend/build-configs/koblenz/index.ts Outdated Show resolved Hide resolved
frontend/build-configs/koblenz/index.ts Outdated Show resolved Hide resolved
frontend/assets/koblenz/l10n/override_de.json Outdated Show resolved Hide resolved
@f1sh1918
Copy link
Contributor

f1sh1918 commented Oct 16, 2024

Tested on pixel 7 and found two minor issues.
A general thing first. Don't we have a special theme color for koblenz? I think toni provided sth

1.There is an overflow of the id card widget. Since we are not releasing this it can be fixed later but we should keep this in mind
image

2.I also get an error in the console when starting the app

flutter: Environment: local
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Unable to load asset: "assets/koblenz/l10n/override_en.json".

To fix deeplinking:
Could you please add in getBuildConfig LN25 and remove TODO

return buildConfigKoblenz

I don't think we need a separate task for this one liner.
Then deeplinking works for android and ios
image

Copy link
Contributor

@f1sh1918 f1sh1918 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good work 👍
Tested on ios and android.
Would be nice if you can adjust this one line i mentioned in my comment before
Then its good to go
Please add issues for the two minor things i mentioned there

@ztefanie
Copy link
Member Author

Tested on android, works as expected. What do you mean by "check that deeplink files are created"?

When building administration in the build folder there are the files apple-app-site-association and assentlinks.json for each project

@ztefanie
Copy link
Member Author

ztefanie commented Oct 16, 2024

Please add issues for the two minor things i mentioned there

They are already in the issue in the description of the PR, i added the console output for the missing english translations

@ztefanie ztefanie merged commit 70a84aa into main Oct 16, 2024
1 check passed
@ztefanie ztefanie deleted the 1431-add-app-build-config-koblenz branch October 16, 2024 09:44
@f1sh1918
Copy link
Contributor

Please add issues for the two minor things i mentioned there

They are already in the issue in the description of the PR, i added the console output for the missing english translations

okay i didn't find adjust theme color, so i added this to #1653

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add buildConfig for app
4 participants