Skip to content

Commit 8de233c

Browse files
committed
Set label app name based on flavor for Android
1 parent 7dc2c5c commit 8de233c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

android/app/src/main/AndroidManifest.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@
22
package="com.ysn.flutter_news_app">
33

44
<application
5-
android:label="flutter_news_app"
5+
android:label="@string/app_name"
66
android:icon="@mipmap/ic_launcher">
77
<activity
88
android:name=".MainActivity"
99
android:launchMode="singleTop"
1010
android:theme="@style/LaunchTheme"
1111
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
1212
android:hardwareAccelerated="true"
13-
android:windowSoftInputMode="adjustResize">
13+
android:windowSoftInputMode="adjustResize"
14+
android:exported="true">
1415
<!-- Specifies an Android theme to apply to this Activity as soon as
1516
the Android process has started. This theme is visible to the user
1617
while the Flutter UI initializes. After that, this theme continues
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<resources></resources>

0 commit comments

Comments
 (0)