Hello!
I’m trying to use Native Dialogs in iOS app.
So, I have installed cordova and ionic plugins:
$ ionic cordova plugin add cordova-plugin-dialogs
$ npm install @ionic-native/dialogs
I have imported one to app.module.ts:
providers: [
...
Dialogs,
...
],
I have declared it inside page.ts:
import { Dialogs } from '@ionic-native/dialogs/ngx';
constructor(
...
private dialogs: Dialogs,
...
) { }
Then I’m trying to call it:
this.dialogs.alert('Hello world')
And nothing happened. Dialog not appeared.
What is the problem?