Goldengate icon indicating copy to clipboard operation
Goldengate copied to clipboard

Compatibility layer for Cordova plugins

Open radex opened this issue 11 years ago • 0 comments

Goldengate won't be a practical project if you have to rewrite all of your (and 3rd party) Cordova plugins to Goldengate.Plugins. It would be great to have some sort of a mechanism to map CDVPlugins to Goldengate plugins.

Some open questions:

  • how to do this, exactly? Use of objc runtime will be probably needed to discover all methods.
  • how to map return values to promises? With Cordova, you're essentially emitting a bit of JavaScript to call the callback function. Not very clean :(

radex avatar Nov 18 '14 22:11 radex