cordova-plugin-safariviewcontroller icon indicating copy to clipboard operation
cordova-plugin-safariviewcontroller copied to clipboard

Change wording on Done button

Open ThinkBlackInk opened this issue 1 year ago • 1 comments

Is it possible to change the wording on the button that closes the viewer? I want to set it to "Back to App" instead of "Done". It makes more sense in my app.

I also would like to hide the URL, if possible. I know that has been asked before, but putting another request in for it, in case that will help get the feature in there!

ThinkBlackInk avatar Jul 04 '23 17:07 ThinkBlackInk

iOS does not allow user-defined wording on the close button, the only allowed values are: 'Done', 'Close', 'Cancel'. I've implemented this in my fork here, see dismissButtonStyle option.

Also I've added barCollapsingEnabled option to minimize the nav bar when user is scrolling the page. But iOS does not allow to hide it completely, due to the security issues I think.

S-AT avatar Aug 30 '23 22:08 S-AT