mirror of
https://github.com/M66B/NetGuard.git
synced 2024-12-27 02:09:41 +00:00
Debuggable
This commit is contained in:
parent
e8d7adfaa8
commit
e1148dac6c
1 changed files with 1 additions and 1 deletions
|
@ -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) ||
|
||||
|
|
Loading…
Reference in a new issue