Ion-popover android issue

#1

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.

#2

Can you post the image of error and the code?

#3

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).