Debuggable

This commit is contained in:
M66B 2016-02-26 08:08:26 +01:00
parent e8d7adfaa8
commit e1148dac6c
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ public class IAB implements ServiceConnection {
}
public static boolean isPurchased(String sku, Context context) {
if (Util.getSelfVersionName(context).contains("beta"))
if (Util.isDebuggable(context) || Util.getSelfVersionName(context).contains("beta"))
return true;
SharedPreferences prefs = context.getSharedPreferences("IAB", Context.MODE_PRIVATE);
return (prefs.getBoolean(sku, false) ||