mirror of https://github.com/M66B/NetGuard.git
Debuggable
This commit is contained in:
parent
e8d7adfaa8
commit
e1148dac6c
|
@ -170,7 +170,7 @@ public class IAB implements ServiceConnection {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean isPurchased(String sku, Context context) {
|
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;
|
return true;
|
||||||
SharedPreferences prefs = context.getSharedPreferences("IAB", Context.MODE_PRIVATE);
|
SharedPreferences prefs = context.getSharedPreferences("IAB", Context.MODE_PRIVATE);
|
||||||
return (prefs.getBoolean(sku, false) ||
|
return (prefs.getBoolean(sku, false) ||
|
||||||
|
|
Loading…
Reference in New Issue