Created
May 16, 2019 10:17
-
-
Save imprakharshukla/ded2f79093156586ca90a09c4d4841a7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package studio.com.techriz.andronix; | |
| import android.app.Application; | |
| import org.solovyev.android.checkout.Billing; | |
| public class BillingHelper extends Application { | |
| private static BillingHelper sInstance; | |
| private final Billing mBilling = new Billing(this, new Billing.DefaultConfiguration() { | |
| @Override | |
| public String getPublicKey() { | |
| return "REMOVED THE KEY FOR SECURITY PURPOSES"; | |
| } | |
| }); | |
| public BillingHelper() { | |
| sInstance = this; | |
| } | |
| public static BillingHelper get() { | |
| return sInstance; | |
| } | |
| public Billing getBilling() { | |
| return mBilling; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment