@scottieslg wrote:
In Ionic 3, I could use this code to check if I was running on a device or in a browser:
if ((<any>window).cordova) this.debug = false;
The
if ((<any>window).cordova)
always returns false in Ionic 4.How can I check if I’m in debug mode?
Posts: 1
Participants: 1