This plugin runs during the before_compile hook that is triggered by Cordova while building the app. This helps mitigate conflicts such as having permission request messages for iOS being overriden by other referenced plugins.
before_compile
You must reference this plugin from your main mobile module in order for this to work. There are two ways for doing this: either by placing the invisible ExtendedPreferencesPlugin block somewhere (e.g. in the layout), or invoking the CheckExtendedPreferencesPlugin Action.
ExtendedPreferencesPlugin
CheckExtendedPreferencesPlugin
This will ensure that the reference to this plugin will be preserved, even after cleaning unused dependencies in the main mobile module.
After establishing the dependency, use the Extensibility Configurations of the main module to specify custom preferences supported by this plugin.
Change log
Breaking change