I integrated the sample code (helper classes) for the inapp billing from the official Android website. I am trying to test error path ( i.e incorrect APK signature, no internet..etc). When this error occurs, the dialog shows the error such as " Error retrieving billing info ..etc"
The problem is that, once you click ok, the app continues (although I have checks everywhere to terminate the app when things go wrong). Before someone says "post some code", let me clarify here. I am not able to "catch the failure" in the sample code. I placed debug points everywhere. The last piece of code that is called is when the "purchase buying intent" is initiated. After that, I can't seem to find anywhere where the code would actually indicate failure (so I can action based on it)
anyone else faced this?
I found the reason for that
The overridden OnActivityResult was not called. So I corrected it and now it receives the results
Hoping this would save someone else many hours