Adding Apple in-app purchase to Electron HTML/JS a

2020-08-09 10:25发布

问题:

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.

回答1:

As suggested in one of the similar GitHub issues, you can try out customising nodobjc module.



回答2:

A Node.js module for in-App-Purchase for iOS, Android, Amazon and Windows. https://github.com/voltrue2/in-app-purchase



回答3:

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