Blank screen on Android/iOS after capacitor build when calling SplashScreen in ngOnInit
The goal is to ensure that Capacitor plugin invocations (e.g., SplashScreen, StatusBar, Network) execute successfully both during local development with ionic serve and in production builds generated by ionic capacitor build android or ios . When such plugins are called in the root component’s ngOnInit or constructor, the calls succeed in the browser because