0
votes

I am developing a cross platform app that will be published on Google Play Store and on App Store as well.

Google Play policies as well as the App Store policies says that you can not use other payment system to purchase a product that will be used within the app. But I am struggling with a solution how to use digital item purchased on Android in iOS app too without purchasing it again.

2
You need a third-party database, shared by the app on both platforms. It cannot be done through Android's API alone.Susmit Agrawal

2 Answers

1
votes

You would have to implement your own solution to keep of track in-app purchases. For this you would need to have a back-end server and user accounts. Your users would have to log into your app and their in-app purchases would be tied to their account for your app rather than their Google Play or iTunes account. This would be in line with what's allowed on each platform, because you'd be using the respective platform's payment solution but track the information about that payment on your own server so it could be used on another platform.

I have a few cross platform apps, and my opinion is that for most small apps it wouldn't be worth it to implement a solution like this just to track in-app purchases. However if you already have user accounts and sharing/syncing of data between platforms, then you it would be relatively simple to also add and track the users' in-app products.

If you do decide to do the extra work, you can look into Google's Firebase. It has a cross-platform database that makes implementing user accounts and syncing relatively easy and you wouldn't need your own server because you could use Google Cloud Functions (on Google's servers) for back-end operations.

0
votes

Your best option is to create a database connected to both the IOS and the Android app and store client purchases in the database. This way clients can have all their account purchases across multiple devices independent of the os the device is running. Creating some sort of account system would probably help you organise things on the server side of things.

Hope this helps. Max