We use capacitor a while and notice that our android apps stopped working,
starting the app gets a black screen (before it worked).
Via debugging we see that the following error is thrown:
Uncaught TypeError: window.android.initMenuBar is not a function
also
console.log(JSON.stringify(window.android))
→ {}
We use window.android to call native android function from javascript code,
which worked in the past, but not anymore.
Also tried upgrading the app to capacitor 6, which did not resolve the issue,
bundle and install works (same error message).
I hope that someone else is encountering the issue and have some insights
or maybe can help use.
Best regards,
Daniel