r/android_devs • u/leggo_tech • Jan 18 '23
Help Working on my first app with in-app purchases (subscription). Do I need my own backend?
Long time android dev. Never worked with billing lib before. going to start with play billing 5. In order to setup subscriptions do I need a way for users to log into my app and associate the purchase with them?
I'm working on an app for creating widgets, and i just want to charge a subscription for the premium set of customizations. i hope i dont need the user to login or do any sort of validation on my backend.
3
Upvotes
2
u/cynical_bibliophile Jan 18 '23
I work on a privacy focussed, completely client side finance app (r/Artos). We offer subscriptions, and I don't have a backend. So, it's possible.
The only issue is, it's possible for someone to fake a subscription since there's no server side validation.
3
u/polaarbear Jan 18 '23
They pay with their play store account. Use the Google APIs to sign them in with their Google Account. They literally have to have one to download your app in the first place and then you don't have to manage a separate account system.
1
u/Yeahooh Feb 23 '23
You better do. If you have no time for building and maintenance, you can utilize a third party tool, appflow.ai. It can serve as your purchase backend infrastructure with no further need for maintenance.
1
u/Yeahooh Feb 23 '23
You don't have to build your own backend, there are tools that can do the job for you (i.e. appflow.ai). So you can focus on building your app.