This method will fire whenever the SDK receives an updated CustomerInfo object from calls to
Is there a way to tell what causes the method passed to addCustomerInfoUpdateListener to be called? It will be nice to be able to tell the difference between a purchase and restore when it fires.
Best answer by codyView original
Unfortunately not at this time - the method will be fired when any changes are received for the cached CustomerInfo object. As a workaround, you may be able to store a value somewhere in your app when a user attempts a purchase vs. a restore so you know the last ‘action’ before the listener was fired.