You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for providing such an excellent project as FunSolBillingHelper. However, I have a few questions. Running the original project for the first time continuously results in billingClient being not null. This prevents startConnection() from being called in subsequent runs, making it impossible to call fetchAvailableAllSubsProducts(subKeys), resulting in a PRODUCT_NOT_EXIST error every time a purchase is attempted. To address this, I made a slight modification:
I added billingClient = null in FunSolBillingHelper(this).release(), and called FunSolBillingHelper(this).release() in onDestroy(). However, this seems to be ineffective.
I called FunSolBillingHelper(this).release() directly before FunSolBillingHelper(this).setSubKeys..... This worked, and I was able to successfully initiate payments every time.
I’m not sure if I have misunderstood your code, so I hope you can review it. If you think it’s appropriate, I am willing to submit a Pull Request.
The text was updated successfully, but these errors were encountered:
Thank you for providing such an excellent project as FunSolBillingHelper. However, I have a few questions. Running the original project for the first time continuously results in billingClient being not null. This prevents startConnection() from being called in subsequent runs, making it impossible to call fetchAvailableAllSubsProducts(subKeys), resulting in a PRODUCT_NOT_EXIST error every time a purchase is attempted. To address this, I made a slight modification:
I’m not sure if I have misunderstood your code, so I hope you can review it. If you think it’s appropriate, I am willing to submit a Pull Request.
The text was updated successfully, but these errors were encountered: