InAppBrowser - IOS Hide Share Button

Hi guys,

Using the InAppBrowser plugin is there a way to disable the share button that appears in iOS.
This appears for me when loading a PDF.

I am aware you can hide the toolbar, but I need the toolbar to remain, so the user can press the “Done” button to close the InAppBrowser.

Any advice appreciated.

It appears there was an error in my code. My app was actually opening the PDF with the FileOpener plugin, which has its own functionality with a share button. I thought this was the inAppBrowser.

I have a feature that requires toggling the ability to share the PDF so depending on this setting I change which plugin loads the PDF.