Closed claudius-kienle closed 1 year ago
Same issue
add tools:replace="android:label"
+ android:label='myappname'
to your AndroidManifest.xml in <application ...
and if not already defined, define the tools namespace in your manifest <manifest ... xmlns:tools="http://schemas.android.com/tools" ...
But this would just allow to overwrite the defined android:label with the one defined in the package. The app name then always will be SECURE CHECKOUT
Therefore, this is not a solution.
I edited my answer. you need to add android:label='myappname'
to your <application
as well
Yeah, that worked! Thank you.
I just started to use your package and it works flawlessly.
Nevertheless, I experienced that the application name of the android application now changed to "SECURE CHECKOUT". I think it is because my AndroidManifest.xml defines the
android:label="@string/app_name"
and maybe the package also defines aapp_name
variable which then overwrites mine.I correctly defined the app_name string in the
build.grade
:I then tried to change
andorid:label
to a hard-coded stringbut then I get following error:
Following Repository contains the application that results in the above error: https://github.com/claudius-kienle/flutter-braintree