mobile app in app purchases subscription

Moderator: Support

danielraddd
Posts: 1
Joined: Thu Jul 01, 2021 11:37 am

mobile app in app purchases subscription

Post by danielraddd »

Hey there,

Is it possible to create in app subscription purchases ?

I want to display a custom digital experience to users who have purchased a subscription via android or ios native in app purchase ability.

Galyna Abramovych
Site Admin
Posts: 75
Joined: Tue Mar 22, 2016 6:03 pm

Re: mobile app in app purchases subscription

Post by Galyna Abramovych »

From what you have described, you might be interested in integrating some Cordova plug-in that would do the job. And as Appery.io allows adding custom plug-ins: https://docs.appery.io/docs/cordova-custom-plugins, you just need to find the one(s) that would meet all your requirements.

For example, in-app purchases can be implemented with this (or similar) Cordova plug-in: https://github.com/j3k0/cordova-plugin-purchase.

anair
Posts: 1
Joined: Wed Dec 01, 2021 7:23 pm

Re: mobile app in app purchases subscription

Post by anair »

Hi, is there a sample in app purchase solution implemented by Appery?

Galyna Abramovych
Site Admin
Posts: 75
Joined: Tue Mar 22, 2016 6:03 pm

Re: mobile app in app purchases subscription

Post by Galyna Abramovych »

Please be informed that we have a detailed tutorial on integrating Admob into a jQM app: https://docs.appery.io/docs/jqm-google- ... n-tutorial

Also, we had a working tutorial for Ionic 4/5, but as of now, there are some issues with integrating Admob into those frameworks and we can confirm that the problem must be related to the AdMob plug-in version which library looks outdated and is a known issue already with a workaround suggested here: https://github.com/ratson/cordova-plugi ... ree#status.
When sticking to the instructions provided in the tutorial the app works as expected but after trying to upgrade the Cordova version for the app, it fails to build, unfortunately.
As of now, while we are developing solutions for the Ionic 5 apps, we can recommend you try switching to AdMob-plus. Please check out two recent posts here discussing the possible workaround:
https://github.com/ratson/cordova-plugi ... -791353121.

So, for now, you can check out this (https://docs.appery.io/docs/ionic-4-google-admob) tutorial (it's unpublished but is available by link) but
will need to update the Google Admob SDK from 7.67 to 8 manually to make it work:
https://github.com/sevkonline/cordova-plugin-admob-free.

In conclusion, I would like you to be informed that the new plug-in version will be published really soon.

Post Reply