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.
BackgroundAudio
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"}]
BackgroundMode
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"}]
Sharing
This feature will allow your plugin to use sharing functionality.
"features" : [{"name" : "sharing"}]
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
This feature will allow the app to access health data health.
"features" : [{"name" : "health"}]
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": "Bluetooth" }],
"languages": ["en", "fr"]
}