Skip to content

Commit b9782a1

Browse files
committed
fixed screen rotation
1 parent 5fef4da commit b9782a1

File tree

3 files changed

+11
-23
lines changed

3 files changed

+11
-23
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,5 @@ jobs:
5353
uses: ncipollo/release-action@v1
5454
with:
5555
artifacts: "build/app/outputs/bundle/release/*,build/app/outputs/flutter-apk/*"
56-
tag: v1.9.0+${{ github.run_number }}
56+
tag: v1.10.0+${{ github.run_number }}
5757
token: ${{ secrets.TOKEN }}
Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,22 @@
1-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="net.redlinesoft.phr">
3-
<application
4-
android:label="PHR"
5-
android:name="${applicationName}"
6-
android:icon="@mipmap/launcher_icon">
7-
<activity
8-
android:name=".MainActivity"
9-
android:exported="true"
10-
android:launchMode="singleTop"
11-
android:theme="@style/LaunchTheme"
12-
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
13-
android:hardwareAccelerated="true"
14-
android:windowSoftInputMode="adjustResize">
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="net.redlinesoft.phr">
2+
3+
<uses-permission android:name="android.permission.INTERNET"/>
4+
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
5+
6+
<application android:label="PHR" android:name="${applicationName}" android:icon="@mipmap/launcher_icon">
7+
<activity android:name=".MainActivity" android:exported="true" android:launchMode="singleTop" android:theme="@style/LaunchTheme" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize" android:screenOrientation="portrait">
158
<!-- Specifies an Android theme to apply to this Activity as soon as
169
the Android process has started. This theme is visible to the user
1710
while the Flutter UI initializes. After that, this theme continues
1811
to determine the Window background behind the Flutter UI. -->
19-
<meta-data
20-
android:name="io.flutter.embedding.android.NormalTheme"
21-
android:resource="@style/NormalTheme"
22-
/>
12+
<meta-data android:name="io.flutter.embedding.android.NormalTheme" android:resource="@style/NormalTheme" />
2313
<intent-filter>
2414
<action android:name="android.intent.action.MAIN"/>
2515
<category android:name="android.intent.category.LAUNCHER"/>
2616
</intent-filter>
2717
</activity>
2818
<!-- Don't delete the meta-data below.
2919
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
30-
<meta-data
31-
android:name="flutterEmbedding"
32-
android:value="2" />
20+
<meta-data android:name="flutterEmbedding" android:value="2" />
3321
</application>
3422
</manifest>

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ description: A new Flutter project.
1414
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
1515
# Read more about iOS versioning at
1616
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
17-
version: 1.9.0+10
17+
version: 1.10.0+11
1818

1919
environment:
2020
sdk: ">=2.17.0 <3.0.0"

0 commit comments

Comments
 (0)