Let’s now start with our Ionic app and install the Glassfy Capacitor plugin like this: ionic start ionicGlassfy blank -type=angular Note: You can also manage Paddle subscriptions with Glassfy, but in this post we are focusing on iOS and Android purchases only. The best part? You can get started for free and use all of this up to $10k revenue! On top of that Glassfy can act as a backend to accept webhooks to validate purchases made or events in relation to the subscription status of a user, for which you otherwise would have to run your own solution. You can also use this logic to bundle items into groups that give specific permissions for users, so you have not only abstracted away the native purchase flow but also additional information for your app. After you have added those products inside the Google Play Console and Appstore Connect, you can then easily access them inside your Glassfy dashboard by their SKU and make them available to your app as offerings. The idea of Glassfy is to make it as easy as possible to handle subscriptions and purchases in mobile apps by capturing all relevant information and giving you a better view of your data.Īlthough we will later only interact with the Glassfy SDK, we still need to setup our iOS and Android items for purchase on their respective platforms. In the end we will be able to unlock or hide content in our app simply by grabbing the settings from Glassfy without running our own backend or custom validation on our end! How Glassfy works Today we will therefore go through the steps of integrating the Glassfy SDK into an Ionic app using Capacitor so you can easily create purchases and subscriptions right through their platform. ![]() This is not only helpful for statistics, but also to give access to specific content or functions of your app. This tutorial is sponsored by Glassfy, an open source SDK and backend to integrate in-app subscriptions in minutes!īut you are not only limited to subscriptions, you can also add simple purchases to your app and Glassfy keeps track of every transaction a user made. If you want to monetise your Ionic app you can use the native iOS and Android platforms to integrate items to purchase, but you can make the whole process a lot more transparent with another tool.
0 Comments
Leave a Reply. |