import { Component , EventEmitter , Input , OnInit , Output } from '@angular/core' ; import { OpenNativeSettings } from '@ionic-native/open-native-settings/ngx' ; import { ModalController } from '@ionic/angular' ; @ Component ( { selector : 'apconfig-ios-guide' , templateUrl : './ios-guide.component.html' , styleUrls : [ './ios-guide.component.scss' ] , } ) export class IosGuideComponent implements OnInit { @ Input ( ) deviceType = '' ; constructor ( private openNativeSettings , private modalCtrl ) { } ngOnInit ( ) { } openWifiSetting ( ) { this . openNativeSettings . open ( "wifi" ) ; } close ( ) { this . modalCtrl . dismiss ( ) ; } }