I am using the In-app Billing service of Google and Proguard. The configuration file that I am using as a Proguard is the one in .../sdk/tools/proguard/proguard-android.txt
As Google says here: http://developer.android.com/google/play/billing/billing_best_practices.html I added the following line in the configuration file:
-keep class com.android.vending.billing.**
I am using the updated files of IAB from Google as well: https://code.google.com/p/marketbilling/source/detail?r=7ec85a9b619fc5f85023bc8125e7e6b1ab4dd69f
The problem is that sometimes, users report random crashes with this stacktrace:
E/AndroidRuntime: FATAL EXCEPTION: Thread-455
java.lang.NullPointerException
at com.xx.xxxx.util.IabHelper.startSetup(Unknown Source)
at com.xx.xxxx.util.IabHelper$2.run(Unknown Source)
at java.lang.Thread.run(Thread.java:856)
It also happened in my device (just opening the app) but only happened once to me today.
And I am not sure if it is problems of Google files (of IAB) or something is missing in the Proguard configuration file.