Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70435

No message in Alert or Toast in --prod build

$
0
0

I’m having a strange problem where after running --prod to build my APK, both AlertController and ToastController fail to show any messages when they open. The Alert shows the header and the buttons, but no message. I’ve tried many things including creating a very basic ion-button with a click event to directly trigger an async method which creates and presents a toast with no variables or anything fancy, and it still will not show a message after running --prod. Any other method of building the app; serve, emulate, run, build as long as they do not have the --prod argument to minify the code, works absolutely perfectly.

I’ve found a few similar instances in threads across the internet, but have never found one which had a solution!
Any and all help is greatly appreciated!

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 70435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>