I want to disable the screenshot in the ionic app which uses native inappBrowser.
I read the ionic documentation.
The thing which I understand is, In latest version of ionic, the screenshot is disabled by default. And we can take a screenshot by
But I want to disable the screenshot from the app (ionic inaApBrowser).
I tried the plugin
(<any>window).plugins.preventscreenshot.disable((a) => this.successCallback(a), (b) => this.errorCallback(b));
It gives a success message but still I am able to do the screenshot after this also.