Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

base64PublicKey #1

Closed
chiragpurohit71085 opened this issue Sep 3, 2018 · 2 comments
Closed

base64PublicKey #1

chiragpurohit71085 opened this issue Sep 3, 2018 · 2 comments

Comments

@chiragpurohit71085
Copy link

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
Copy link
Member

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
Copy link
Author

chiragpurohit71085 commented Sep 4, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants