let alert = this.alertCtrl.create({
title: ‘Low battery’,
subTitle: JSON.stringify(result),
buttons: [‘Dismiss’]
});
alert.present();
gretings, what is the message that exactly brings the JSON.stringify (resultado), because the syntax of displaying the message is correct but the format of the message may not be, check that first or try instead of placing the json place it in the following way as a test:
let alert = this.alertCtrl.create ({
title: ‘Low battery’,
Subtitle: ‘Hello’,
buttons: [‘Dississ’]
});
alert.present ();