Creating custom android plugins for Cocos creator?

After a lot of work understanding cocos creator now I have a new question I hope someone know this.
How do you create custom android plugins for cocos creator ?

For example I really want to use Flurry Analytics but I no have idea where to start?

Currently, the plugin system is not good enough. I am not sure if it is possible or not. Just move this thread to creator category.

But in Cocos2d-x we already have the JNI helpers using that we were able to start creating our own custom plugins.
I already know that cocos creator is still using cocos2d-x for the compile project, but right now I’m not sure if this project is using the old eclipse project or android studio, I think it’s using eclipse. Really hard to find information for this.

Hi @OscarLeif ,
Have you been able to figure out? i.e How to write custom plugin so that it can be used in cocos creator?

Thanks,

Any update on this front?

1 Like

@adikhel, @rahul2526, @OscarLeif,
hi,
have any of you been able t figure out how to write plugins for cocos creator? any help will be much appreciated. I want to write plugins in both android and iOS.
thanks!

We don’t really have a plugin API that is suitable at this time. Perhaps in the future this will be improved.

hi,
please see the following pages in the manual for guidance. it is possible to write native plugins for android and iOS.

https://docs.cocos2d-x.org/creator/manual/en/advanced-topics/java-reflection.html

https://docs.cocos2d-x.org/creator/manual/en/advanced-topics/oc-reflection.html

cheers!