Goldengate
Goldengate copied to clipboard
Compatibility layer for Cordova plugins
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 :(