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.
First, you need to create an App ID. This will link together your app to your in-app purchaseable products. Login to the Apple Developer Center, then select Certificates, IDs & Profiles. Next, select Identifiers > App IDs, and click + in the upper right corner to create a new App ID.
Sign Electron apps Electron apps can be distributed through Mac App Store or outside it. Each way requires different ways of signing and testing.
We will take a closer look at the more interesting files and how it all works in a minute, but first, let's take the app for a spin. Since an Electron app is just a fancy Node.js app, you will need to have npm installed.
Electron's way gives you more control, as you can easily build multi-window applications and organize the communication between them. Overall Electron is an exciting way to build desktop web applications using web technologies. Here is what you should read next: The revolutionary web design tool for creating responsive websites and apps.
Log in to iTunes Connect to submit your in-app purchase products for review by Apple, after you are done thoroughly testing them in the sandbox environment. iOS 8 introduces Ask to Buy, which lets parents approve any purchases initiated by children, including apps or in-app purchases on the App Store.
Since an Electron app is just a fancy Node.js app, you will need to have npm installed. You can learn how to do it here, it's pretty straightforward.
As suggested in one of the similar GitHub issues, you can try out customising nodobjc module
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With