Skip to content

Instantly share code, notes, and snippets.

@imprakharshukla
Created May 16, 2019 10:17
Show Gist options
  • Select an option

  • Save imprakharshukla/ded2f79093156586ca90a09c4d4841a7 to your computer and use it in GitHub Desktop.

Select an option

Save imprakharshukla/ded2f79093156586ca90a09c4d4841a7 to your computer and use it in GitHub Desktop.
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