Iphone 11 pro stuck at compressing video

I am using the following code to get video from the library:

const videoFilePath = await this.camera.getPicture({
        sourceType: this.camera.PictureSourceType.PHOTOLIBRARY,
        mediaType: this.camera.MediaType.VIDEO,
        quality: 100,
        allowEdit: false
      });

It works fine with Iphone 11 ios 13.1 simulator but when I try to run it on Iphone 11 pro ios 13.1 simulator, it gets stuck when I select video from library at “Compressing Video…”.
Can I avoid video compression?