mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 09:03:56 +02:00
IAB testing
This commit is contained in:
@@ -139,7 +139,7 @@ public class ActivityBilling extends ActivityBase implements PurchasingListener,
|
||||
|
||||
static boolean isTesting(Context context) {
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
return (BuildConfig.DEBUG && prefs.getBoolean("test_iab", false));
|
||||
return (BuildConfig.TEST_RELEASE && prefs.getBoolean("test_iab", false));
|
||||
}
|
||||
|
||||
private static String getChallenge(Context context) throws NoSuchAlgorithmException {
|
||||
|
||||
Reference in New Issue
Block a user