Features List
There are some features that should be added to your plugin.json
features list to allow your plugin to do certain things and communicate with the device.
The presence of features in any iOS / Android app version can be verified using Diagnostics.
Background Audio
This feature will allow audio playback while app is in background.
"features" : [{"name" : "BackgroundAudio"}]
Geo
This feature will allow your app to use Geo service.
"features" : [{"name" : "Geo"}]
Background Geo
This feature will allow for Geo functionality while app is in background.
"features" : [{"name" : "BackgroundGeo"}]
Background Mode
This feature will allow the app to function while the app is in background or if the phone is locked.
"features" : [{"name" : "BackgroundMode"}]
Calendar
This feature will allow calendar functionality.
"features" : [{"name" : "Calendar"}]
Local Notification
This feature will allow the app to send local notifications.
"features" : [{"name" : "localNotification"}]
Barcode Scanner
This feature will allow your plugin to use barcode scanner.
"features" : [{"name" : "BarCodeScanner"}]
Contacts
This feature will allow the app to get the device's contacts.
"features" : [{"name" : "Contacts"}]
Health
In order to add "health"
feature to the app, please see health feature.
Example
Here is an example of plugin.json with more than one feature added
{
"author": "John Doe",
"pluginName": "Example Plugin ",
"pluginDescription": "This is a simple example plugin",
"supportEmail": "support@buildfire.com",
"control": {
"content": {
"enabled": true
},
"design": {
"enabled": true
},
"settings": {
"enabled": false
}
},
"features": [{ "name": "Geo" }, { "name": "Calendar" }],
"languages": ["en", "fr"]
}