Problem with isDevMode


#1

Hi everyone,

I have a problem with isDevMode, this aways return true. I put the enableProdMode in the main.ts and the isDevMode continued returning true.

Seleção_001


#2

Don’t call enableProdMode in an Ionic project. Ionic handles this when you build with the --prod flag.


#3

Thanks, I will test.


#4

Hi again,

I put --prod in build but is the same isDevMode return true aways.