mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(android): resolve fullscreen overlay preventing user interaction
Resolved thanks to Capacitor community suggestion: https://forum.ionicframework.com/t/status-bar-overlaps-the-app-content-help/247967
This commit is contained in:
@@ -2,13 +2,20 @@
|
||||
"appId": "plebchan.android",
|
||||
"appName": "plebchan",
|
||||
"webDir": "build",
|
||||
"bundledWebRuntime": false,
|
||||
"plugins": {
|
||||
"CapacitorHttp": {
|
||||
"enabled": true
|
||||
},
|
||||
"FileUploader": {
|
||||
"enabled": true
|
||||
},
|
||||
"StatusBar": {
|
||||
"style": "Dark",
|
||||
"backgroundColor": "#000000",
|
||||
"overlay": false
|
||||
},
|
||||
"EdgeToEdge": {
|
||||
"backgroundColor": "#000000"
|
||||
}
|
||||
},
|
||||
"server": {
|
||||
|
||||
@@ -2,5 +2,13 @@
|
||||
{
|
||||
"pkg": "@capacitor/app",
|
||||
"classpath": "com.capacitorjs.plugins.app.AppPlugin"
|
||||
},
|
||||
{
|
||||
"pkg": "@capacitor/status-bar",
|
||||
"classpath": "com.capacitorjs.plugins.statusbar.StatusBarPlugin"
|
||||
},
|
||||
{
|
||||
"pkg": "@capawesome/capacitor-android-edge-to-edge-support",
|
||||
"classpath": "io.capawesome.capacitorjs.plugins.androidedgetoedgesupport.EdgeToEdgePlugin"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -2,11 +2,14 @@ package plebchan.android;
|
||||
|
||||
import android.os.Bundle;
|
||||
import com.getcapacitor.BridgeActivity;
|
||||
import com.capacitorjs.plugins.statusbar.StatusBarPlugin;
|
||||
|
||||
public class MainActivity extends BridgeActivity {
|
||||
@Override
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
registerPlugin(FileUploaderPlugin.class);
|
||||
super.onCreate(savedInstanceState);
|
||||
// Register custom and community plugins after initialization
|
||||
registerPlugin(FileUploaderPlugin.class);
|
||||
registerPlugin(StatusBarPlugin.class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user