async presentToast(): Promise<void> {
const toast = await this.toastController.create({
message: 'Install this PWA on your iPhone: Tap <ion-icon name="share" color="warning" size="large"></ion-icon> icon bellow and Add to Home Screen ',
});
toast.present();
}
It’s not working because sanitization made on message toast not allow color and size attributes. It also do not work when the name of ion-icon contains a slash like:
<ion-icon name="share-social"></ion-icon>
Any help on this?