How to store and read In-App purchases coins from Firebase real-time database.

Опубликовано: 31 Октябрь 2024
на канале: SharCourse
1,183
30

Hi All, in this video you will learn how to create a user account and obtain the user id from Firebase authentication and add a record into the real-time database, then be able to update the coins for the user.
How to implement buy coins:    • [NEW] In App Purchase Buy Coins - Bil...  

//add this for accounts and real-time database
implementation 'com.google.firebase:firebase-auth'
implementation 'com.google.firebase:firebase-database'
// Also add the dependency for the Google Play services library and specify its version
implementation 'com.google.android.gms:play-services-auth:20.5.0'

Demo available on Play Store: https://play.google.com/store/apps/de...

Repository: https://github.com/wdtheprovider/in-a...

Download Adapter: https://dingi.icu/store/product/in-ap...

Pre-requisite

Google Play Console Account
Published App on Play Store
Tester Device with GMS

Configure Your Testing device by adding the Gmail account to internal testing testers
and License testing (Watch the YouTube video for clarity:    • Android Google Billing Library v4 In ...   )

Need any help?
[email protected]

Setup the in-app purchase products in the Google Play Console account