M&M
Posts: 0
Joined: Tue Nov 11, 2014 6:59 am

Separate UI components and working logic

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

Ihor Didevych
Posts: 0
Joined: Wed Nov 19, 2014 7:55 pm

Separate UI components and working logic

Hi, M&M

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

M&M
Posts: 0
Joined: Tue Nov 11, 2014 6:59 am

Separate UI components and working logic

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

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Separate UI components and working logic

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.

Return to “Issues”