Generic Multi Platform Plugin-X

Hi,

I known that cocos2d team are working on porting multiple plugins with multiple native clients (ads, etc…), but I think that a generic plugin must exist on cocos2d family for custom code.

For example.

I have a custom library that must be call on Javascript, Android and iOs witch is not an ad library neither a social library.

In order to develop this code, I must create a generic JS interface, JNI calls on android/iOs, and lastly call my own code.

Cocos2d could use something similar to “EasyNDK” http://www.cocos2d-x.org/projects/cocos2d-x/wiki/EasyNDK

Have a generic plugin (plugin-x-generic for example) that only sends/receives strings, this could make cocos2d developers live easier, because we only need to send and listen events from this interface on ourlibrary.

What do you think?