extended-preferences-plugin
Mobile icon

Extended Preferences Plugin

Stable version 2.1.3 (Compatible with OutSystems 11)
Uploaded
 on 27 September 2022
 by 
0.0
 (0 ratings)
extended-preferences-plugin

Extended Preferences Plugin

Details
Plugin that allows changing application settings by using a set of custom preferences defined in the Extensibility Configurations of your module.
Read more

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.

How to Use

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.

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.

Available Preferences

NamePlatformsDescription
OsApplicationShortNameAndroid, iOSDefines a short name for the application to be shown on the device's home screen.
OsPhotoLibraryUsageDescriptioniOSA message that tells the user why the app is requesting access to the user's photo library.
OsPhotoLibraryAddUsageDescriptioniOSA message that tells the user why the app is requesting add-only access to the user’s photo library.
OsCameraUsageDescriptioniOSA message that tells the user why the app is requesting access to the device's camera.
OsLocationUsageDescriptioniOSA message that tells the user why the app is requesting access to the user's location.
OsLocationAlwaysUsageDescriptioniOSA message that tells the user why the app is requesting access to the user's location at all times.
OsContactsUsageDescriptioniOSA message that tells the user why the app is requesting access to the user's contacts.
OsCalendarUsageDescriptioniOSA message that tells the user why the app is requesting access to the user's calendar data.
OsNfcUsageDescriptioniOSA message that tells the user why the app is requesting access to the device's NFC hardware.
OsBluetoothUsageDescriptioniOSA message that tells the user why the app is requesting the ability to connect to Bluetooth peripherals.
OsMicrophoneUsageDescriptioniOSA message that tells the user why the app is requesting access to the device’s microphone.
Release notes (2.1.3)

Change log

  • Added the following new parameters: OsEnvironmentSuffixDevelopment, OsEnvironmentSuffixTesting, OsEnvironmentSuffixPreProduction and OsUseTitleFigureSpaces.


Breaking change

  • This plugin no longer provides preferences for setting usage descriptions for iOS features, since this is currently supported natively by the platform. For full list of iOS preference names for usage descriptions, see Cocoa Keys and filter by UsageDescription.
Reviews (0)
Team
Other assets in this category