Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 477
Lasseron Avatar asked Oct 03 '16 22:10

Lasseron


People also ask

How do I integrate Apple in-app purchases?

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.

Does Apple allow Electron apps?

Sign Electron apps​ Electron apps can be distributed through Mac App Store or outside it. Each way requires different ways of signing and testing.

What is an electron app?

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.

How can electron help you build desktop web applications?

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.

How do I submit my in-app purchases to Apple for review?

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.

Do I need NPM installed for Electron apps?

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.


1 Answers

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

like image 183
Naman Avatar answered Oct 06 '22 00:10

Naman