There may be some network issue from your side or can you post the error here
@elias642 Жыл бұрын
I'm getting error 400 and error 404, quite strange since I pasted the correct API key
@jonesfischer9476 Жыл бұрын
my alertController is not recognized, how can i add it?
@techishare9993 Жыл бұрын
You can refer to this link to use alertcontroller ionicframework.com/docs/api/alert Step 1: import { AlertController } from '@ionic/angular'; Step 2: Add in the Constructor private alertController: AlertController Eg: constructor(private alertController: AlertController) {} Step 3: Add the function inside the js file presentAlert() { const alert = await this.alertController.create({ header: 'Alert', subHeader: 'Important message', message: 'This is an alert!', buttons: ['OK'], }); await alert.present(); } Step 4: Call the function presentAlert()