LiteKite / Android-MonetizeApp

A sample which uses Google's Play Billing Library and it makes In-app Purchases and Subscriptions.
Apache License 2.0
164 stars 44 forks source link

base64PublicKey #1

Closed chiragpurohit71085 closed 6 years ago

chiragpurohit71085 commented 6 years ago

Hi

where I need to put base64PublicKey? to follow

Copy the application's public key (a base-64 string). You can find this in the "Services & APIs" section under "Licensing & In-App Billing".

IN THE CODE

Open BillingManager.java, find the declaration of BASE_64_ENCODED_PUBLIC_KEY constant and replace its value with the public key you retrieved in Step 2.

svignesh93 commented 6 years ago

Hi,

There's no need to include your BASE_64_ENCODED_PUBLIC_KEY anywhere inside your project. Simply use this new BillingClient Library 'com.android.billingclient:billing:1.0' and make sure you use same Application ID (package name) that's been used in the play store and android project as well.

chiragpurohit71085 commented 6 years ago

okay thanks

On Tue 4 Sep, 2018, 11:33 AM Vignesh S, notifications@github.com wrote:

Hi,

There's no need to include your BASE_64_ENCODED_PUBLIC_KEY anywhere inside your project. Simply use this new BillingClient Library 'com.android.billingclient:billing:1.0' and make sure you use same Application ID (package name) that's been used in the play store and android project as well.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/LiteKite/Android-InAppBilling/issues/1#issuecomment-418250767, or mute the thread https://github.com/notifications/unsubscribe-auth/APH9iUpRxcYNbbX44d8vDNKBTgzrjd41ks5uXhfEgaJpZM4WYBST .