Edge to edge after updating to Capacitor 8.4.2 not working #8540
|
After updating my application from Capacitor 7 to Capacitor 8.4.2 I'm having edge to edge issues. On Capacitor 7 I was using And then inside the app.component.ts : if (this.platform.is('android')) {
StatusBar.setOverlaysWebView({ overlay: false });
StatusBar.setStyle({ style: Style.Dark });
}Everything's worked even on old Android versions or newer. But now with Capacitor 8 the application cannot be sent in production because of older Android version (Android 12 in my case). After deep research, trying different methods and plugins without success. Also by reading other discussions, there's no real answer / feedback nor same situation as mine. I ended up by keeping Capacitor 8 but remove all safe-area or edge-to-edge plugin to get a clean install and rely on SystemBars and use what's included in Capacitor. Here's my configuration : // app.component.ts
await SystemBars.setStyle({
bar: SystemBarType.StatusBar,
style: SystemBarsStyle.Light,
});And here's the result :
No problem on Android 14 Samsung.
Any guide to make it works on older versions in my case ? Thank you! |
Replies: 2 comments 2 replies
|
The Capawesome Edge-to-edge plugin should no longer be needed. We recently published a blog post on this. The Capacitor team did a great job with Capacitor 8. |
|
I run a clean Angular + Ionic + Capacitor project (from Only kept this in capacitor.config And remove the use of Run a |

I run a clean Angular + Ionic + Capacitor project (from
ionic start) and no problems on older devies.So in my main project I copy the package version from the clean project and paste them on my main project :