Ion-popover android issue


I’m using ion-popover in my application, following the same steps on ionic 4 documentation. The popover menu is working fine on browser and when running (ionic cordova run android).
But the popover didn’t work as expected when running (ionic cordova build android --prod) as the popover content is not showing at all.
Strange problem and I didn’t find any solution for it until now.


Can you post the image of error and the code?


This is working file when running the command (ionic cordova build android --release) and the popover menu shows as expected.
But the popover menu is not showing after running the command (ionic cordova build android --prod --release).

The problem is when you build in production (–prod).