-
Notifications
You must be signed in to change notification settings - Fork 84
How to submit your plugin
This sdk documentation is deprecated and will not be updated. Check out our new docs at https://sdk.buildfire.com/docs/how-to-submit-your-plugin
This article goes through the steps for submitting a plugin that you have created and getting it distributed widely through BuildFire developer portal.
For CLI version please refer to https://github.com/BuildFire/sdk-cli
-
You have to register to our Developer Portal.
-
When you login you will gain a Development App ID for testing your submitted plugins.
-
Go to the Plugin Manager.
-
Click on Upload plugin and it will take you to Upload Plugin page.
-
Click on Upload button and choose your plugin.zip file.
-
Once uploaded, you will see your submitted plugin in your Plugin Manager.
1-Incorrect zip file structure
Reason
- you have to check your folder structure inside the zip file
Example for the correct folder structure and files :
2-Missing control folder
Reason
- missing control folder inside the the zip file
3-Missing resource folder
Reason
- missing resource folder inside the the zip file
4-Missing image.png in resources folder
Reason
- missing
image.pngfile inside the resources folder , please pay attention to the image format should be.png
5-Missing icon.png in resources folder
Reason
- missing
image.pngfile inside the resources folder , please pay attention to the image format should be.png
6-Missing plugin.json file
Reason
- missing
plugin.jsonfile inside the main folder.
7-Invalid plugin.json file format
Reason
- the content of
plugin.jsonfile is incorrectjsonformat
8-Missing widget folder
Reason
- missing widget folder inside the main folder.
- missing the following code in
plugin.json"widget":{}
9-Missing control property in plugin.json
Reason
-
missing control property inside the
plugin.json -
missing the following code in
plugin.json`,"control":{` `"content":{` `"enabled":true` `}` `, "design":{` `"enabled":true` `}` `, "settings":{` `"enabled":false` `}` `}`
10-Missing content folder in control folder
Reason
-
missing content folder inside the control folder and the property for content folder is enabled in the
plugin.jsonfile . *you can enable or disable the content from the following code inplugin.json"control":{"content":{"enabled":true}
11-Missing design folder in control folder
Reason
-
missing design folder inside the control folder and the property for design folder is enabled in the
plugin.jsonfile . -
you can enable or disable the design from the following code in
plugin.json"control":{"design":{"enabled":true}
12-Missing settings folder in control folder
Reason
- missing settings folder inside the control folder and the property for settings folder is enabled in the
plugin.jsonfile. - you can enable or disable the settings from the following code in
plugin.json
"control":{
"settings":{
"enabled":true
}
13-Missing pluginName property in plugin.json
Reason
- missing
pluginNameproperty inplugin.json. - missing the following code in
plugin.json"pluginName":"Example Plugin"
14-Missing pluginDescription property in plugin.json
Reason
- missing
pluginDescriptionproperty inplugin.json - missing the following code in
plugin.json"pluginDescription":"This is a simple test plugin"
15-Missing features array property in plugin.json
Reason
- missing features property in
plugin.jsonand it should be an array . - missing the following code in
plugin.json"features" : [{"name" : "GPS"} ,{"name" : "Bluetooth"}]
16-Missing features languages property in plugin.json
Reason
- missing languages property in
plugin.jsonand it should be an array of objects . - missing the following code in
plugin.json"languages" : ["en" , "fr"]
{
"author":"Daniel Hindi"
,"pluginName":"Example Plugin"
,"pluginDescription":"This is a simple test plugin"
,"supportEmail":"support@buildfire.com"
,"control":{
"content":{
"enabled":true
}
, "design":{
"enabled":true
}
, "settings":{
"enabled":false
}
}
,"widget":{
},
"features" : [{"name" : "GPS"} ,{"name" : "Bluetooth"}],
"languages" : ["en" , "fr"]
}

