SAP Fiori Client Guide

Disabling the Privacy Screen Plugin on iOS

You can disable the Privacy Screen plugin for the Cordova WebView and the In App Browser.

Context

The Privacy Screen plugin is integrated into the SAP Hybrid (Kapsel) InAppBrowser plugin (based on the open-source InAppBrowserInformation published on non-SAP site plugin). See InAppBrowser Plugin.

Procedure

  1. From a command prompt or terminal, enter:
    cordova plugin remove cordova-plugin-privacyscreen
  2. (Optional) Go to ~/Documents/Kapsel_Projects/<Project_Name>/platforms/ios/<Project_Name>/Plugins/kapsel-plugin-inappbrowser/CDVInAppBrowser.m.
  3. (Optional) Edit the CDVInAppBrowser.m file to comment out the following listeners:
    • appDidBecomeActive
    • appWillResignActiveNotification