Skip to content

Commit e4ce49d

Browse files
Fix android overlapping (#582)
* fix: android overlapping * fix: add changelog entry for app overlap issue with system GUI * fix: add changelog entry for app overlap issue with system GUI
1 parent daf9a69 commit e4ce49d

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ android {
77
applicationId "com.moimob.drinkable"
88
minSdkVersion rootProject.ext.minSdkVersion
99
targetSdkVersion rootProject.ext.targetSdkVersion
10-
versionCode 15700
11-
versionName "1.57.0"
10+
versionCode 15701
11+
versionName "1.57.1"
1212
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1313
aaptOptions {
1414
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.

android/app/src/main/assets/capacitor.config.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@
22
"appId": "com.moimob.drinkable",
33
"appName": "Drinkable",
44
"webDir": "dist",
5-
"backgroundColor": "#161314"
5+
"backgroundColor": "#161314",
6+
"android": {
7+
"adjustMarginsForEdgeToEdge": "auto"
8+
}
69
}

capacitor.config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ const config: CapacitorConfig = {
44
appId: 'com.moimob.drinkable',
55
appName: 'Drinkable',
66
webDir: 'dist',
7-
backgroundColor: '#161314'
7+
backgroundColor: '#161314',
8+
android: {
9+
adjustMarginsForEdgeToEdge: 'auto'
10+
}
811
};
912

1013
export default config;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
• Fix issue with app being overlapped by system gui

0 commit comments

Comments
 (0)