@Sébastien,
It understandable that sometimes people get lost working on Cordova and Phonegap. The documentation is bad and often confusing. However, the volunteers that work the forums feel there is much to offer, once developers get past some of the shortcomings.
1) There are many "sharing" extensions written as plugins. You can always find them using the
Plugin Repository. I happen to
six at this moment.
The most popular plugin being
eddy verbruggen's cordova-plugin-x-socialsharing2) All plugins eventually have to use "Native" code to accomplish task. Until Javascript has it's own "typed" language, JS will have to depend on native implementations for plugins. We have great hope for
TypeScript. But we are patient also.
3) Make you extension would still be valuable, as sometimes the details of an extension make them a favorite for developers. If you feel inclined you can use the
Cordova Plugin Development Guide to help you make the correct modifications. In addition, *Phonegap Build* has abandoned the previous requirement to be listed on the
Phonegap Build Repository. The current policy is that anything available on the
Cordova Plugin Repository is available for use with Phonegap Build.
Best of Luck
Jesse