InApp Browser stop loading the page


i am trying to use InAppBrowser to open external links.

After importing InAppBrowser in module and ts file my page stop opening

Here is the code

html file

<span style="float: right" *ngIf="ex.file" (click)="open(ex.file)">View File</span> file

import { InAppBrowser, InAppBrowserOptions } from '@ionic-native/in-app-browser/ngx';

export class NewPage implements OnInit {

options : InAppBrowserOptions = {
    location : 'yes',//Or 'no' 
    hidden : 'no', //Or  'yes'
    clearcache : 'yes',
    clearsessioncache : 'yes',
    zoom : 'yes',//Android only ,shows browser zoom controls 
    hardwareback : 'yes',
    mediaPlaybackRequiresUserAction : 'no',
    shouldPauseOnSuspend : 'no', //Android only 
    closebuttoncaption : 'Close', //iOS only
    disallowoverscroll : 'no', //iOS only 
    toolbar : 'yes', //iOS only 
    enableViewportScale : 'no', //iOS only 
    allowInlineMediaPlayback : 'no',//iOS only 
    presentationstyle : 'pagesheet',//iOS only 
    fullscreen : 'yes',//Windows only    

    private iab: InAppBrowser
  ) {}

  		const browser = this.iab.create(file,'_blank',this.options);



import { InAppBrowser } from '@ionic-native/in-app-browser/ngx';

imports: [

without adding InAppBrowser page opens without any problem. but after adding InAppbrowser when i click on link to open the page nothing happens.

Please help.