Please read the Plugin Submission Guidelines for more information.
This template provides stubs for two of the top level directories that are needed in your plugin submission:
metadata.jsonYou should modify this with information about your company and pluginplugins/VERSION/android/metadata.luaThis is a stub for the metadata describing the binaryresources/package.txtContains the name of the package for which to generate an R file.assets/This folder contains files to be added to the assets folder and can be retrieved via the assets managerres/This folder contains files you want to put in the res folder and can be access via [getIdentifier](http://developer.android.com/reference/android/content/res/Resources.html#getIdentifier(java.lang.String, java.lang.String, java.lang.String)). The structure of the subfolder is exactly the same as the res folder.
iphone/metadata.luaThis is a stub for the metadata describing the binaryresources/This folder will contain all the resources you want in the app. It is relative to the root app directory.
iphone-sim/metadata.luaThis is a stub for the metadata describing the binaryresources/This folder will contain all the resources you want in the app. It is relative to the root app directory.
mac-sim/plugin_PLUGIN_NAME.luaThis is a stub Lua file to be used by the Corona Simulator
win32-sim/plugin_PLUGIN_NAME.luaThis is a stub Lua file to be used by the Corona Simulator
The complete directory structure is explained in the Plugin Submission Guidelines
In each file there are strings in ALL CAPS that should be replaced with information specific to your plugin. You should 'grep' for the following strings and replace them appropriately:
PLUGIN_NAMEThis should be the name of the plugin.- You should preserve any prefix such as
plugin.orplugin_. - Note the trailing
.and_, respectively. - Don't forget to rename any file and directory with
PLUGIN_NAMEin it, e.g.plugin_PLUGIN_NAME.lua=>plugin_openudid.lua.
- You should preserve any prefix such as
VERSION- This is a directory
- You should rename this to the daily build version of Corona in which the plugin is available, e.g.
2017.3070.
PUBLISHER_CONTACTThe e-mail of the main contact person for support.PUBLISHER_NAMEThe brand name of the publisher.PUBLISHER_URLThe url of the publisherREVERSE_PUBLISHER_URLThe reverse domain that uniquely identifies the publisher, e.g.com.mycompany.SERVICE_NAMEThe name of the service provided by the publisher (if applicable)CORONA_REFERRAL_URLThe referral link if the service requires a separate account registration.