Is there a way to add Mac App Store in-app purchase to Electron HTML/JS application? There are app store modules for Phonegap, Nativescript, ImpactJS etc but I can't seem to find anything for Electron or pure JS.
As suggested in one of the similar GitHub issues, you can try out customising nodobjc module
.
A Node.js module for in-App-Purchase for iOS, Android, Amazon and Windows. https://github.com/voltrue2/in-app-purchase
From what I can see on this post, no one has really given a thorough answer.
I need to do in app purchases in my Electron app for the Mac App Store. It doesn't seem like anyone has figured out how to do that yet, so I've created a post with a 300 reputation points worth of bounty. If you think you can get more specific with how you'd do in app purchases, please let me know in there:
Implementing in-app purchase in an Electron app for the Mac App Store
来源:https://stackoverflow.com/questions/39841666/adding-apple-in-app-purchase-to-electron-html-js-app