wojtkowiak / meteor-desktop

Build a Meteor's desktop client with hot code push.
MIT License
448 stars 84 forks source link

Any idea how to use this cordova plugin with Meteor desktop? #140

Open sferoze opened 6 years ago

sferoze commented 6 years ago

The cordova in app purchase plugin below, I want to be able to use with Electron Meteor desktop.

I checked and the plugin should work on Mac and iOS apps. The native RMStore code is Mac compatible.

But I am not sure how to integrate it with meteor desktop. It is added to the iOS app, but meteor desktop does not include cordova plugins in it's build.

https://github.com/AlexDisler/cordova-plugin-inapppurchase

wojtkowiak commented 6 years ago

Hey, this one is tricky. Very shortly - you will need to convert that to a meteor-desktop plugin, more specifically you will need the native code to compile as node native module and have a meteor-desktop IPC wrapper over that. Not sure if this is still valid for you - let me know, if yes I will elaborate a little more on that.