Anjlab在成功计费后未调用onProductPurchased java
我使用anjlab库在我的应用程序中处理账单 我的Anjlab在成功计费后未调用onProductPurchased java,java,android,Java,Android,我使用anjlab库在我的应用程序中处理账单 我的公共类中有它,扩展了BaseActivity实现了BillingProcessor.IBillingHandler{ 问题是,成功计费后,不会调用onProductPurchased @Override public void onProductPurchased(String productId, TransactionDetails details) { /* * Called when requested PRODUCT ID was su
公共类中有它,扩展了BaseActivity实现了BillingProcessor.IBillingHandler{
问题是,成功计费后,不会调用onProductPurchased
@Override
public void onProductPurchased(String productId, TransactionDetails details) {
/*
* Called when requested PRODUCT ID was successfully purchased
*/
savepremium(); // has a toast, but it is not beeing called after payment.
}
@Override
protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {
super.onActivityResult(requestCode, resultCode, data);
}
图书馆:
有什么问题吗?我不熟悉该库,但如果您找不到合适的解决方案,我建议使用我不熟悉的库,但如果您找不到合适的解决方案,我建议使用