Page 1 of 1

Separate UI components and working logic

Posted: Tue Feb 17, 2015 10:59 am
by M&M

hi,

Is it possible that this will work

Create an appery project and include whatever plugins (including third party plugins) as necessary. Ensure that the plugins are working properly. Then export this project as an appery plugin and use that plugin in other appery projects?

Is short say I create an appery plugin project after including 2-3 third party plugins: say localnotification, toast and nfc plugin. Can I export this as a appery plugin and then use that plugin in another appery project. Will all of the functionality of the plugins be available in the new project then?

Thanks,
M&M


Separate UI components and working logic

Posted: Tue Feb 17, 2015 12:41 pm
by Ihor Didevych

Hi, M&M

It is theoretically possible, but this can cause problems because the names of directory coincide with the project name.


Separate UI components and working logic

Posted: Tue Feb 17, 2015 3:05 pm
by M&M

hi Ihor,

Then is there a way that I can reuse something that I build. For example there are 4 plugins that I use in almost all my projects. So does it mean that every time I create a new project I will have to go through all the individual steps like creating folders, copying JS files, copying java files, modifying the androidmanifest.xml, config.xml etc?

Thanks,
M&M


Separate UI components and working logic

Posted: Wed Feb 18, 2015 6:26 am
by Evgene Karachevtsev

Hello M&M,

Unfortunately it will be much easier to add these plugins in a new project step-by-step as you did early than creating a new plugin from your existing project.