PhotoRoom v4.8.2版本的 MD5 值为:c40a01bb3380c0f75c0cb6ac6760f295

以下内容为反编译后的 d.java 源代码,内容仅作参考


package com.braze.configuration;

import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager;
import android.os.Build;
import bo.app.s0;
import bo.app.t0;
import com.appboy.enums.DeviceKey;
import com.appboy.enums.LocationProviderName;
import com.appboy.enums.SdkFlavor;
import com.appboy.support.PackageUtils;
import com.braze.configuration.e;
import j9.d;
import java.util.EnumSet;
import java.util.HashSet;
import java.util.List;
import java.util.Locale;
import java.util.NoSuchElementException;
import java.util.Set;
import java.util.concurrent.TimeUnit;
import kotlin.collections.a1;
import kotlin.collections.c0;
import kotlin.jvm.internal.t;
import kotlin.jvm.internal.v;
import kotlin.jvm.internal.w0;
import kotlin.text.x;
public class d extends com.braze.configuration.e {
    public static final a Companion = new a(null);
    public static final int DEFAULT_IN_APP_MESSAGE_WEBVIEW_ONPAGEFINISHED_WAIT_MS = (int) TimeUnit.SECONDS.toMillis(15);
    public static final String DEFAULT_NOTIFICATION_CHANNEL_DESCRIPTION_DEFAULT_VALUE = "";
    public static final String DEFAULT_NOTIFICATION_CHANNEL_NAME_DEFAULT_VALUE = "General";
    private static final int DEFAULT_SESSION_TIMEOUT_SECONDS = 10;
    private static final int DEFAULT_TRIGGER_MINIMUM_INTERVAL = 30;
    public static final int MAX_ALLOWED_EPHEMERAL_EVENTS = 12;
    private final Context context;

    public static final class a {
        private a() {
        }

        public a(kotlin.jvm.internal.k kVar) {
            this();
        }
    }

    public enum b {
        EPHEMERAL_EVENTS_ENABLED("com_braze_ephemeral_events_enabled"),
        EPHEMERAL_EVENTS_KEYS("com_braze_ephemeral_events_keys"),
        API_KEY("com_braze_api_key"),
        SERVER_TARGET_KEY("com_braze_server_target"),
        ADM_MESSAGING_REGISTRATION_ENABLED_KEY("com_braze_push_adm_messaging_registration_enabled"),
        SMALL_NOTIFICATION_ICON_KEY("com_braze_push_small_notification_icon"),
        LARGE_NOTIFICATION_ICON_KEY("com_braze_push_large_notification_icon"),
        SESSION_TIMEOUT_KEY("com_braze_session_timeout"),
        ENABLE_LOCATION_COLLECTION_KEY("com_braze_enable_location_collection"),
        DEFAULT_NOTIFICATION_ACCENT_COLOR_KEY("com_braze_default_notification_accent_color"),
        TRIGGER_ACTION_MINIMUM_TIME_INTERVAL_KEY_SECONDS("com_braze_trigger_action_minimum_time_interval_seconds"),
        HANDLE_PUSH_DEEP_LINKS_AUTOMATICALLY("com_braze_handle_push_deep_links_automatically"),
        NEWSFEED_UNREAD_VISUAL_INDICATOR_ON("com_braze_newsfeed_unread_visual_indicator_on"),
        SDK_FLAVOR("com_braze_sdk_flavor"),
        CUSTOM_ENDPOINT("com_braze_custom_endpoint"),
        DEFAULT_NOTIFICATION_CHANNEL_NAME("com_braze_default_notification_channel_name"),
        DEFAULT_NOTIFICATION_CHANNEL_DESCRIPTION("com_braze_default_notification_channel_description"),
        PUSH_DEEP_LINK_BACK_STACK_ACTIVITY_ENABLED_KEY("com_braze_push_deep_link_back_stack_activity_enabled"),
        PUSH_DEEP_LINK_BACK_STACK_ACTIVITY_CLASS_NAME_KEY("com_braze_push_deep_link_back_stack_activity_class_name"),
        SESSION_START_BASED_TIMEOUT_ENABLED_KEY("com_braze_session_start_based_timeout_enabled"),
        FIREBASE_CLOUD_MESSAGING_REGISTRATION_ENABLED_KEY("com_braze_firebase_cloud_messaging_registration_enabled"),
        FIREBASE_CLOUD_MESSAGING_SENDER_ID_KEY("com_braze_firebase_cloud_messaging_sender_id"),
        CONTENT_CARDS_UNREAD_VISUAL_INDICATOR_ENABLED("com_braze_content_cards_unread_visual_indicator_enabled"),
        DEVICE_OBJECT_ALLOWLISTING_ENABLED_KEY("com_braze_device_object_whitelisting_enabled"),
        DEVICE_OBJECT_ALLOWLIST_VALUE("com_braze_device_object_whitelist"),
        IN_APP_MESSAGE_ACCESSIBILITY_EXCLUSIVE_MODE_ENABLED("com_braze_device_in_app_message_accessibility_exclusive_mode_enabled"),
        PUSH_WAKE_SCREEN_FOR_NOTIFICATION_ENABLED("com_braze_push_wake_screen_for_notification_enabled"),
        PUSH_NOTIFICATION_HTML_RENDERING_ENABLED("com_braze_push_notification_html_rendering_enabled"),
        GEOFENCES_ENABLED("com_braze_geofences_enabled"),
        IN_APP_MESSAGE_PUSH_TEST_EAGER_DISPLAY("com_braze_in_app_message_push_test_eager_display_enabled"),
        LOGGER_INITIAL_LOG_LEVEL("com_braze_logger_initial_log_level"),
        CUSTOM_HTML_WEBVIEW_ACTIVITY_CLASS_NAME_KEY("com_braze_custom_html_webview_activity_class_name"),
        GEOFENCES_AUTOMATIC_REQUESTS_ENABLED_KEY("com_braze_automatic_geofence_requests_enabled"),
        CUSTOM_LOCATION_PROVIDERS_LIST_KEY("com_braze_custom_location_providers_list"),
        IN_APP_MESSAGE_WEBVIEW_CLIENT_MAX_ONPAGEFINISHED_WAIT_KEY("com_braze_in_app_message_webview_client_max_onpagefinished_wait_ms"),
        FIREBASE_MESSAGING_SERVICE_AUTOMATICALLY_REGISTER_ON_NEW_TOKEN_KEY("com_braze_firebase_messaging_service_automatically_register_on_new_token"),
        SDK_AUTH_ENABLED("com_braze_sdk_authentication_enabled"),
        REQUIRE_TOUCH_MODE_FOR_HTML_IAMS_KEY("com_braze_require_touch_mode_for_html_in_app_messages"),
        DATA_SYNC_BAD_NETWORK_INTERVAL_KEY("com_braze_data_flush_interval_bad_network"),
        DATA_SYNC_GOOD_NETWORK_INTERVAL_KEY("com_braze_data_flush_interval_good_network"),
        DATA_SYNC_GREAT_NETWORK_INTERVAL_KEY("com_braze_data_flush_interval_great_network"),
        SDK_METADATA_INTERNAL_KEY("com_braze_internal_sdk_metadata"),
        SDK_METADATA_PUBLIC_KEY("com_braze_sdk_metadata");
        
        private final String f18678b;

        b(String str) {
            this.f18678b = str;
        }

        public final String c() {
            return this.f18678b;
        }
    }

    static final class c extends v implements hy.a {
        final String f18679g;

        c(String str) {
            super(0);
            this.f18679g = str;
        }

        @Override
        public final String invoke() {
            return t.r("Couldn't find application icon for package: ", this.f18679g);
        }
    }

    static final class C0282d extends v implements hy.a {
        public static final C0282d f18680g = new C0282d();

        C0282d() {
            super(0);
        }

        @Override
        public final String invoke() {
            return "****************************************************";
        }
    }

    static final class e extends v implements hy.a {
        public static final e f18681g = new e();

        e() {
            super(0);
        }

        @Override
        public final String invoke() {
            return "Found an override api key. Using it to configure the Braze SDK";
        }
    }

    static final class f extends v implements hy.a {
        public static final f f18682g = new f();

        f() {
            super(0);
        }

        @Override
        public final String invoke() {
            return "****************************************************";
        }
    }

    static final class g extends v implements hy.a {
        public static final g f18683g = new g();

        g() {
            super(0);
        }

        @Override
        public final String invoke() {
            return "**                                                **";
        }
    }

    static final class h extends v implements hy.a {
        public static final h f18684g = new h();

        h() {
            super(0);
        }

        @Override
        public final String invoke() {
            return "**                 !! WARNING !!                  **";
        }
    }

    static final class i extends v implements hy.a {
        public static final i f18685g = new i();

        i() {
            super(0);
        }

        @Override
        public final String invoke() {
            return "**                                                **";
        }
    }

    static final class j extends v implements hy.a {
        public static final j f18686g = new j();

        j() {
            super(0);
        }

        @Override
        public final String invoke() {
            return "**     No API key set in res/values/braze.xml     **";
        }
    }

    static final class k extends v implements hy.a {
        public static final k f18687g = new k();

        k() {
            super(0);
        }

        @Override
        public final String invoke() {
            return "** No cached API Key found from Braze.configure   **";
        }
    }

    static final class l extends v implements hy.a {
        public static final l f18688g = new l();

        l() {
            super(0);
        }

        @Override
        public final String invoke() {
            return "**          Braze functionality disabled          **";
        }
    }

    static final class m extends v implements hy.a {
        public static final m f18689g = new m();

        m() {
            super(0);
        }

        @Override
        public final String invoke() {
            return "**                                                **";
        }
    }

    static final class n extends v implements hy.a {
        public static final n f18690g = new n();

        n() {
            super(0);
        }

        @Override
        public final String invoke() {
            return "Using default notification accent color found in resources";
        }
    }

    static final class o extends v implements hy.a {
        public static final o f18691g = new o();

        o() {
            super(0);
        }

        @Override
        public final String invoke() {
            return "More than 12 ephemeral/graylisted events detected. Only using first 12 events. Please truncate this list!";
        }
    }

    static final class p extends v implements hy.a {
        public static final p f18692g = new p();

        p() {
            super(0);
        }

        @Override
        public final String invoke() {
            return "Exception while parsing stored SDK flavor. Returning null.";
        }
    }

    static final class q extends v implements hy.a {
        public static final q f18693g = new q();

        q() {
            super(0);
        }

        @Override
        public final String invoke() {
            return "Unable to read the version code.";
        }
    }

    public d(Context context) {
        super(context, false, null, 6, null);
        t.i(context, "context");
        this.context = context;
    }

    private final EnumSet c(Class cls, b bVar) {
        String c11 = bVar.c();
        if (getConfigurationCache().containsKey(c11)) {
            Object obj = getConfigurationCache().get(c11);
            if (obj != null) {
                return (EnumSet) obj;
            }
            throw new NullPointerException("null cannot be cast to non-null type java.util.EnumSet<E of com.braze.configuration.BrazeConfigurationProvider.getGenericEnumSetFromStringSet>");
        }
        Set<String> stringSetValue = getStringSetValue(bVar.c(), new HashSet());
        if (stringSetValue == null) {
            stringSetValue = new HashSet<>();
        }
        EnumSet a11 = s0.a(cls, stringSetValue);
        getConfigurationCache().put(c11, a11);
        return a11;
    }

    private final String d() {
        String stringValue = getStringValue(b.SERVER_TARGET_KEY.c(), "PROD");
        return stringValue == null ? "PROD" : stringValue;
    }

    public static void getDefaultNotificationAccentColor$annotations() {
    }

    public static void getVersionCode$annotations() {
    }

    public final void clear() {
        getConfigurationCache().clear();
        getRuntimeAppConfigurationProvider().g().edit().clear().apply();
    }

    public final int getApplicationIconResourceId() {
        int i11;
        ApplicationInfo applicationInfo;
        PackageManager.ApplicationInfoFlags of2;
        if (getConfigurationCache().containsKey("application_icon")) {
            Object obj = getConfigurationCache().get("application_icon");
            if (obj != null) {
                return ((Integer) obj).intValue();
            }
            throw new NullPointerException("null cannot be cast to non-null type kotlin.Int");
        }
        String packageName = this.context.getPackageName();
        try {
            if (Build.VERSION.SDK_INT >= 33) {
                PackageManager packageManager = this.context.getPackageManager();
                of2 = PackageManager.ApplicationInfoFlags.of(0L);
                applicationInfo = packageManager.getApplicationInfo(packageName, of2);
            } else {
                applicationInfo = this.context.getPackageManager().getApplicationInfo(packageName, 0);
            }
            t.h(applicationInfo, "if (Build.VERSION.SDK_IN… 0)\n                    }");
            i11 = applicationInfo.icon;
        } catch (Exception e11) {
            j9.d.e(j9.d.f52680a, this, d.a.E, e11, false, new c(packageName), 4, null);
            i11 = 0;
        }
        getConfigurationCache().put("application_icon", Integer.valueOf(i11));
        return i11;
    }

    public final String getBaseUrlForRequests() {
        String d11 = d();
        Locale US = Locale.US;
        t.h(US, "US");
        String upperCase = d11.toUpperCase(US);
        t.h(upperCase, "this as java.lang.String).toUpperCase(locale)");
        return t.d("STAGING", upperCase) ? "https://sondheim.braze.com/api/v3/" : "https://sdk.iad-01.braze.com/api/v3/";
    }

    public final bo.app.i getBrazeApiKey() {
        String c11 = b.API_KEY.c();
        String str = (String) getConfigurationCache().get(c11);
        if (str == null) {
            str = getRuntimeAppConfigurationProvider().i(c11, null);
            if (str != null) {
                j9.d.e(j9.d.f52680a, this, d.a.I, null, false, e.f18681g, 6, null);
            } else {
                str = getStringValue(c11, null);
            }
            if (str != null) {
                getConfigurationCache().put(c11, str);
            }
        }
        if (str != null) {
            return new bo.app.i(str);
        }
        j9.d dVar = j9.d.f52680a;
        d.a aVar = d.a.W;
        j9.d.e(dVar, this, aVar, null, false, f.f18682g, 6, null);
        j9.d.e(dVar, this, aVar, null, false, g.f18683g, 6, null);
        j9.d.e(dVar, this, aVar, null, false, h.f18684g, 6, null);
        j9.d.e(dVar, this, aVar, null, false, i.f18685g, 6, null);
        j9.d.e(dVar, this, aVar, null, false, j.f18686g, 6, null);
        j9.d.e(dVar, this, aVar, null, false, k.f18687g, 6, null);
        j9.d.e(dVar, this, aVar, null, false, l.f18688g, 6, null);
        j9.d.e(dVar, this, aVar, null, false, m.f18689g, 6, null);
        j9.d.e(dVar, this, aVar, null, false, C0282d.f18680g, 6, null);
        throw new RuntimeException("Unable to read the Braze API key from the res/values/braze.xml file or from runtime configuration via BrazeConfig. See log for more details.");
    }

    public final String getCustomEndpoint() {
        return getStringValue(b.CUSTOM_ENDPOINT.c(), null);
    }

    public final String getCustomHtmlWebViewActivityClassName() {
        return getStringValue(b.CUSTOM_HTML_WEBVIEW_ACTIVITY_CLASS_NAME_KEY.c(), "");
    }

    public final EnumSet<LocationProviderName> getCustomLocationProviderNames() {
        return c(LocationProviderName.class, b.CUSTOM_LOCATION_PROVIDERS_LIST_KEY);
    }

    public final int getDefaultNotificationAccentColor() {
        Integer colorValue = getColorValue(b.DEFAULT_NOTIFICATION_ACCENT_COLOR_KEY.c());
        if (colorValue != null) {
            j9.d.e(j9.d.f52680a, this, null, null, false, n.f18690g, 7, null);
            return colorValue.intValue();
        }
        return 0;
    }

    public final String getDefaultNotificationChannelDescription() {
        String stringValue = getStringValue(b.DEFAULT_NOTIFICATION_CHANNEL_DESCRIPTION.c(), "");
        return stringValue == null ? "" : stringValue;
    }

    public final String getDefaultNotificationChannelName() {
        String stringValue = getStringValue(b.DEFAULT_NOTIFICATION_CHANNEL_NAME.c(), DEFAULT_NOTIFICATION_CHANNEL_NAME_DEFAULT_VALUE);
        return stringValue == null ? DEFAULT_NOTIFICATION_CHANNEL_NAME_DEFAULT_VALUE : stringValue;
    }

    public final EnumSet<DeviceKey> getDeviceObjectAllowlist() {
        return c(DeviceKey.class, b.DEVICE_OBJECT_ALLOWLIST_VALUE);
    }

    @px.g
    public final EnumSet<DeviceKey> getDeviceObjectWhitelist() {
        return getDeviceObjectAllowlist();
    }

    public final boolean getDoesHandlePushDeepLinksAutomatically() {
        return getBooleanValue(b.HANDLE_PUSH_DEEP_LINKS_AUTOMATICALLY.c(), false);
    }

    public final Set<String> getEphemeralEventKeys() {
        Set<String> e11;
        List a12;
        Set<String> o12;
        String c11 = b.EPHEMERAL_EVENTS_KEYS.c();
        e11 = a1.e();
        Set<String> stringSetValue = getStringSetValue(c11, e11);
        if (stringSetValue == null) {
            stringSetValue = a1.e();
        }
        if (stringSetValue.size() > 12) {
            j9.d.e(j9.d.f52680a, this, d.a.W, null, false, o.f18691g, 6, null);
        }
        a12 = c0.a1(stringSetValue, 12);
        o12 = c0.o1(a12);
        return o12;
    }

    public final String getFirebaseCloudMessagingSenderIdKey() {
        return getStringValue(b.FIREBASE_CLOUD_MESSAGING_SENDER_ID_KEY.c(), null);
    }

    public final int getInAppMessageWebViewClientOnPageFinishedMaxWaitMs() {
        return getIntValue(b.IN_APP_MESSAGE_WEBVIEW_CLIENT_MAX_ONPAGEFINISHED_WAIT_KEY.c(), DEFAULT_IN_APP_MESSAGE_WEBVIEW_ONPAGEFINISHED_WAIT_MS);
    }

    public final int getLargeNotificationIconResourceId() {
        return getDrawableValue(b.LARGE_NOTIFICATION_ICON_KEY.c(), 0);
    }

    public final int getLoggerInitialLogLevel() {
        return getIntValue(b.LOGGER_INITIAL_LOG_LEVEL.c(), 4);
    }

    public final String getPushDeepLinkBackStackActivityClassName() {
        return getStringValue(b.PUSH_DEEP_LINK_BACK_STACK_ACTIVITY_CLASS_NAME_KEY.c(), "");
    }

    public final SdkFlavor getSdkFlavor() {
        boolean z11;
        boolean x11;
        String stringValue = getStringValue(b.SDK_FLAVOR.c(), null);
        if (stringValue != null) {
            x11 = x.x(stringValue);
            if (!x11) {
                z11 = false;
                if (z11) {
                    try {
                        Locale US = Locale.US;
                        t.h(US, "US");
                        String upperCase = stringValue.toUpperCase(US);
                        t.h(upperCase, "this as java.lang.String).toUpperCase(locale)");
                        return SdkFlavor.valueOf(upperCase);
                    } catch (Exception e11) {
                        j9.d.e(j9.d.f52680a, this, d.a.E, e11, false, p.f18692g, 4, null);
                        return null;
                    }
                }
                return null;
            }
        }
        z11 = true;
        if (z11) {
        }
    }

    public final EnumSet<y8.b> getSdkMetadata() {
        String upperCase;
        y8.b[] values;
        int length;
        int i11;
        String c11 = b.SDK_METADATA_INTERNAL_KEY.c();
        e.b bVar = e.b.STRING_ARRAY;
        Object resourceConfigurationValue = getResourceConfigurationValue(bVar, c11, new HashSet());
        if (resourceConfigurationValue != null) {
            Set<String> e11 = w0.e(resourceConfigurationValue);
            String c12 = b.SDK_METADATA_PUBLIC_KEY.c();
            Object resourceConfigurationValue2 = getResourceConfigurationValue(bVar, c12, new HashSet());
            if (resourceConfigurationValue2 != null) {
                Set set = (Set) resourceConfigurationValue2;
                Object runtimeConfigurationValue = getRuntimeConfigurationValue(bVar, c12, new HashSet());
                if (runtimeConfigurationValue != null) {
                    e11.addAll(set);
                    e11.addAll((Set) runtimeConfigurationValue);
                    s0 s0Var = s0.f14499a;
                    EnumSet<y8.b> result = EnumSet.noneOf(y8.b.class);
                    for (String str : e11) {
                        try {
                            s0 s0Var2 = s0.f14499a;
                            Locale US = Locale.US;
                            t.h(US, "US");
                            upperCase = str.toUpperCase(US);
                            t.h(upperCase, "this as java.lang.String).toUpperCase(locale)");
                            values = y8.b.values();
                            length = values.length;
                            i11 = 0;
                        } catch (Exception e12) {
                            j9.d.e(j9.d.f52680a, s0.f14499a, d.a.E, e12, false, new t0(str), 4, null);
                        }
                        while (i11 < length) {
                            y8.b bVar2 = values[i11];
                            i11++;
                            if (t.d(bVar2.name(), upperCase)) {
                                result.add(bVar2);
                            }
                        }
                        throw new NoSuchElementException("Array contains no element matching the predicate.");
                    }
                    t.h(result, "result");
                    return result;
                }
                throw new NullPointerException("null cannot be cast to non-null type kotlin.collections.Set<kotlin.String>");
            }
            throw new NullPointerException("null cannot be cast to non-null type kotlin.collections.Set<kotlin.String>");
        }
        throw new NullPointerException("null cannot be cast to non-null type kotlin.collections.MutableSet<kotlin.String>");
    }

    public final int getSessionTimeoutSeconds() {
        return getIntValue(b.SESSION_TIMEOUT_KEY.c(), 10);
    }

    public final int getSmallNotificationIconResourceId() {
        return getDrawableValue(b.SMALL_NOTIFICATION_ICON_KEY.c(), 0);
    }

    public final long getTriggerActionMinimumTimeIntervalInSeconds() {
        return getIntValue(b.TRIGGER_ACTION_MINIMUM_TIME_INTERVAL_KEY_SECONDS.c(), DEFAULT_TRIGGER_MINIMUM_INTERVAL);
    }

    public final int getVersionCode() {
        int i11;
        if (getConfigurationCache().containsKey("version_code")) {
            Object obj = getConfigurationCache().get("version_code");
            if (obj != null) {
                return ((Integer) obj).intValue();
            }
            throw new NullPointerException("null cannot be cast to non-null type kotlin.Int");
        }
        try {
            i11 = this.context.getPackageManager().getPackageInfo(PackageUtils.getResourcePackageName(this.context), 0).versionCode;
        } catch (Exception e11) {
            j9.d.e(j9.d.f52680a, this, d.a.E, e11, false, q.f18693g, 4, null);
            i11 = -1;
        }
        getConfigurationCache().put("version_code", Integer.valueOf(i11));
        return i11;
    }

    public final boolean isAdmMessagingRegistrationEnabled() {
        return getBooleanValue(b.ADM_MESSAGING_REGISTRATION_ENABLED_KEY.c(), false);
    }

    public final boolean isAutomaticGeofenceRequestsEnabled() {
        return getBooleanValue(b.GEOFENCES_AUTOMATIC_REQUESTS_ENABLED_KEY.c(), true);
    }

    public final boolean isContentCardsUnreadVisualIndicatorEnabled() {
        return getBooleanValue(b.CONTENT_CARDS_UNREAD_VISUAL_INDICATOR_ENABLED.c(), true);
    }

    public final boolean isDeviceObjectAllowlistEnabled() {
        return getBooleanValue(b.DEVICE_OBJECT_ALLOWLISTING_ENABLED_KEY.c(), false);
    }

    @px.g
    public final boolean isDeviceObjectWhitelistEnabled() {
        return isDeviceObjectAllowlistEnabled();
    }

    public final boolean isEphemeralEventsEnabled() {
        return getBooleanValue(b.EPHEMERAL_EVENTS_ENABLED.c(), false);
    }

    public final boolean isFirebaseCloudMessagingRegistrationEnabled() {
        return getBooleanValue(b.FIREBASE_CLOUD_MESSAGING_REGISTRATION_ENABLED_KEY.c(), false);
    }

    public final boolean isFirebaseMessagingServiceOnNewTokenRegistrationEnabled() {
        return getBooleanValue(b.FIREBASE_MESSAGING_SERVICE_AUTOMATICALLY_REGISTER_ON_NEW_TOKEN_KEY.c(), isFirebaseCloudMessagingRegistrationEnabled());
    }

    public final boolean isGeofencesEnabled() {
        return getBooleanValue(b.GEOFENCES_ENABLED.c(), isLocationCollectionEnabled());
    }

    public final boolean isInAppMessageAccessibilityExclusiveModeEnabled() {
        return getBooleanValue(b.IN_APP_MESSAGE_ACCESSIBILITY_EXCLUSIVE_MODE_ENABLED.c(), false);
    }

    public final boolean isInAppMessageTestPushEagerDisplayEnabled() {
        return getBooleanValue(b.IN_APP_MESSAGE_PUSH_TEST_EAGER_DISPLAY.c(), true);
    }

    public final boolean isLocationCollectionEnabled() {
        return getBooleanValue(b.ENABLE_LOCATION_COLLECTION_KEY.c(), false);
    }

    public final boolean isNewsfeedVisualIndicatorOn() {
        return getBooleanValue(b.NEWSFEED_UNREAD_VISUAL_INDICATOR_ON.c(), true);
    }

    public final boolean isPushDeepLinkBackStackActivityEnabled() {
        return getBooleanValue(b.PUSH_DEEP_LINK_BACK_STACK_ACTIVITY_ENABLED_KEY.c(), true);
    }

    public final boolean isPushNotificationHtmlRenderingEnabled() {
        return getBooleanValue(b.PUSH_NOTIFICATION_HTML_RENDERING_ENABLED.c(), false);
    }

    public final boolean isPushWakeScreenForNotificationEnabled() {
        return getBooleanValue(b.PUSH_WAKE_SCREEN_FOR_NOTIFICATION_ENABLED.c(), true);
    }

    public final boolean isSdkAuthenticationEnabled() {
        return getBooleanValue(b.SDK_AUTH_ENABLED.c(), false);
    }

    public final boolean isSessionStartBasedTimeoutEnabled() {
        return getBooleanValue(b.SESSION_START_BASED_TIMEOUT_ENABLED_KEY.c(), false);
    }

    public final boolean isTouchModeRequiredForHtmlInAppMessages() {
        return getBooleanValue(b.REQUIRE_TOUCH_MODE_FOR_HTML_IAMS_KEY.c(), true);
    }
}