Closed chiragpurohit71085 closed 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.
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 .
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.