- Imported from https://github.com/supermegamestre/Project-Real-Resurrection-3 - APKTool decompilation (Smali bytecode) for modding and rebuilding APK - Supports both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) architectures - Includes full Smali source, resources, and native libraries - Ready to rebuild APK after modifications with apktool b command - Added comprehensive README-apktool.md with modding guide This branch complements the JADX branches: - Use JADX (main/discord-community) to UNDERSTAND code (readable Java) - Use APKTool (this branch) to MODIFY and REBUILD APK (editable Smali) Total: 44,417 files, 538.51 MB Smali source code
1033 lines
25 KiB
Smali
1033 lines
25 KiB
Smali
.class public Lcom/helpshift/storage/HSPersistentStorage;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# instance fields
|
|
.field public preferences:Lcom/helpshift/storage/ISharedPreferencesStore;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/helpshift/storage/ISharedPreferencesStore;)V
|
|
.locals 0
|
|
|
|
.line 60
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/helpshift/storage/HSPersistentStorage;->preferences:Lcom/helpshift/storage/ISharedPreferencesStore;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public clearAppLaunchEvents()V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/helpshift/storage/HSPersistentStorage;->preferences:Lcom/helpshift/storage/ISharedPreferencesStore;
|
|
|
|
const-string v1, "app_launch_events"
|
|
|
|
.line 295
|
|
invoke-interface {v0, v1}, Lcom/helpshift/storage/ISharedPreferencesStore;->remove(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public getActiveUser()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "active_user"
|
|
|
|
.line 113
|
|
invoke-virtual {p0, v0}, Lcom/helpshift/storage/HSPersistentStorage;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getAdditionalHelpcenterData()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "additional_hc_data"
|
|
|
|
.line 183
|
|
invoke-virtual {p0, v0}, Lcom/helpshift/storage/HSPersistentStorage;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getAnonymousUserIdMap()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "anon_user_id_map"
|
|
|
|
.line 323
|
|
invoke-virtual {p0, v0}, Lcom/helpshift/storage/HSPersistentStorage;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getAppLaunchEvents()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "app_launch_events"
|
|
|
|
.line 285
|
|
invoke-virtual {p0, v0}, Lcom/helpshift/storage/HSPersistentStorage;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getBoolean(Ljava/lang/String;)Z
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/helpshift/storage/HSPersistentStorage;->preferences:Lcom/helpshift/storage/ISharedPreferencesStore;
|
|
|
|
.line 432
|
|
invoke-interface {v0, p1}, Lcom/helpshift/storage/ISharedPreferencesStore;->getBoolean(Ljava/lang/String;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public getBreadCrumbs()Lorg/json/JSONArray;
|
|
.locals 3
|
|
|
|
:try_start_0
|
|
const-string v0, "breadcrumbs"
|
|
|
|
.line 393
|
|
invoke-virtual {p0, v0}, Lcom/helpshift/storage/HSPersistentStorage;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
.line 394
|
|
invoke-static {v0}, Lcom/helpshift/util/Utils;->isEmpty(Ljava/lang/String;)Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
.line 395
|
|
new-instance v1, Lorg/json/JSONArray;
|
|
|
|
invoke-direct {v1, v0}, Lorg/json/JSONArray;-><init>(Ljava/lang/String;)V
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-object v1
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
const-string v1, "hsPerStore"
|
|
|
|
const-string v2, "Error Getting BreadCrumbs"
|
|
|
|
.line 398
|
|
invoke-static {v1, v2, v0}, Lcom/helpshift/log/HSLogger;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
.line 400
|
|
:cond_0
|
|
new-instance v0, Lorg/json/JSONArray;
|
|
|
|
invoke-direct {v0}, Lorg/json/JSONArray;-><init>()V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getCIF()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "custom_issue_fields"
|
|
|
|
.line 100
|
|
invoke-virtual {p0, v0}, Lcom/helpshift/storage/HSPersistentStorage;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getConfig()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "config"
|
|
|
|
.line 128
|
|
invoke-virtual {p0, v0}, Lcom/helpshift/storage/HSPersistentStorage;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getCurrentPushToken()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "current_push_token"
|
|
|
|
.line 191
|
|
invoke-virtual {p0, v0}, Lcom/helpshift/storage/HSPersistentStorage;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getDomain()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "domain"
|
|
|
|
.line 70
|
|
invoke-virtual {p0, v0}, Lcom/helpshift/storage/HSPersistentStorage;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getEnableInAppNotification()Z
|
|
.locals 1
|
|
|
|
const-string v0, "enable_inapp_notificaiton"
|
|
|
|
.line 239
|
|
invoke-virtual {p0, v0}, Lcom/helpshift/storage/HSPersistentStorage;->getBoolean(Ljava/lang/String;)Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getFailedAnalyticsEvents()Lorg/json/JSONArray;
|
|
.locals 3
|
|
|
|
:try_start_0
|
|
const-string v0, "failed_analytics_events"
|
|
|
|
.line 369
|
|
invoke-virtual {p0, v0}, Lcom/helpshift/storage/HSPersistentStorage;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
.line 371
|
|
invoke-static {v0}, Lcom/helpshift/util/Utils;->isEmpty(Ljava/lang/String;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 372
|
|
new-instance v0, Lorg/json/JSONArray;
|
|
|
|
invoke-direct {v0}, Lorg/json/JSONArray;-><init>()V
|
|
|
|
return-object v0
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
goto :goto_0
|
|
|
|
.line 375
|
|
:cond_0
|
|
new-instance v1, Lorg/json/JSONArray;
|
|
|
|
invoke-direct {v1, v0}, Lorg/json/JSONArray;-><init>(Ljava/lang/String;)V
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-object v1
|
|
|
|
:goto_0
|
|
const-string v1, "hsPerStore"
|
|
|
|
const-string v2, "Error getting failed events"
|
|
|
|
.line 378
|
|
invoke-static {v1, v2, v0}, Lcom/helpshift/log/HSLogger;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
.line 381
|
|
new-instance v0, Lorg/json/JSONArray;
|
|
|
|
invoke-direct {v0}, Lorg/json/JSONArray;-><init>()V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getHelpcenterUiConfigData()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "helpcenter_ui_config_data"
|
|
|
|
.line 263
|
|
invoke-virtual {p0, v0}, Lcom/helpshift/storage/HSPersistentStorage;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getHost()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "host"
|
|
|
|
.line 79
|
|
invoke-virtual {p0, v0}, Lcom/helpshift/storage/HSPersistentStorage;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getHsDeviceId()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "hs_did"
|
|
|
|
.line 267
|
|
invoke-virtual {p0, v0}, Lcom/helpshift/storage/HSPersistentStorage;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getInt(Ljava/lang/String;)I
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/helpshift/storage/HSPersistentStorage;->preferences:Lcom/helpshift/storage/ISharedPreferencesStore;
|
|
|
|
.line 424
|
|
invoke-interface {v0, p1}, Lcom/helpshift/storage/ISharedPreferencesStore;->getInt(Ljava/lang/String;)I
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public getLanguage()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "language"
|
|
|
|
.line 145
|
|
invoke-virtual {p0, v0}, Lcom/helpshift/storage/HSPersistentStorage;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getLastHCCacheEvictedTime()J
|
|
.locals 2
|
|
|
|
const-string v0, "last_helpcenter_cache_eviction_time"
|
|
|
|
.line 408
|
|
invoke-virtual {p0, v0}, Lcom/helpshift/storage/HSPersistentStorage;->getLong(Ljava/lang/String;)J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public getLastRequestUnreadCountApiAccess()J
|
|
.locals 2
|
|
|
|
const-string v0, "last_unread_count_api_access"
|
|
|
|
.line 364
|
|
invoke-virtual {p0, v0}, Lcom/helpshift/storage/HSPersistentStorage;->getLong(Ljava/lang/String;)J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public getLastSuccessfulAppLaunchEventSyncTime()J
|
|
.locals 2
|
|
|
|
const-string v0, "app_launch_last_sync_timestamp"
|
|
|
|
.line 276
|
|
invoke-virtual {p0, v0}, Lcom/helpshift/storage/HSPersistentStorage;->getLong(Ljava/lang/String;)J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public getLocalProactiveConfig()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "localProactiveConfig"
|
|
|
|
.line 136
|
|
invoke-virtual {p0, v0}, Lcom/helpshift/storage/HSPersistentStorage;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getLocalStorageData()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "local_storage_data"
|
|
|
|
.line 166
|
|
invoke-virtual {p0, v0}, Lcom/helpshift/storage/HSPersistentStorage;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getLong(Ljava/lang/String;)J
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/helpshift/storage/HSPersistentStorage;->preferences:Lcom/helpshift/storage/ISharedPreferencesStore;
|
|
|
|
.line 416
|
|
invoke-interface {v0, p1}, Lcom/helpshift/storage/ISharedPreferencesStore;->getLong(Ljava/lang/String;)J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public getNetworkHeaders()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "network_headers"
|
|
|
|
.line 331
|
|
invoke-virtual {p0, v0}, Lcom/helpshift/storage/HSPersistentStorage;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getNotificationChannelId()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "notificationChannelId"
|
|
|
|
.line 207
|
|
invoke-virtual {p0, v0}, Lcom/helpshift/storage/HSPersistentStorage;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getNotificationContent()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "notification_content"
|
|
|
|
.line 343
|
|
invoke-virtual {p0, v0}, Lcom/helpshift/storage/HSPersistentStorage;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getNotificationIcon()I
|
|
.locals 1
|
|
|
|
const-string v0, "notificationIcon"
|
|
|
|
.line 211
|
|
invoke-virtual {p0, v0}, Lcom/helpshift/storage/HSPersistentStorage;->getInt(Ljava/lang/String;)I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getNotificationLargeIcon()I
|
|
.locals 1
|
|
|
|
const-string v0, "notificationLargeIcon"
|
|
|
|
.line 215
|
|
invoke-virtual {p0, v0}, Lcom/helpshift/storage/HSPersistentStorage;->getInt(Ljava/lang/String;)I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getNotificationSoundId()I
|
|
.locals 1
|
|
|
|
const-string v0, "notificationSoundId"
|
|
|
|
.line 203
|
|
invoke-virtual {p0, v0}, Lcom/helpshift/storage/HSPersistentStorage;->getInt(Ljava/lang/String;)I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getPlatformId()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "platform_id"
|
|
|
|
.line 87
|
|
invoke-virtual {p0, v0}, Lcom/helpshift/storage/HSPersistentStorage;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getPollingRoute()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "polling_route"
|
|
|
|
.line 335
|
|
invoke-virtual {p0, v0}, Lcom/helpshift/storage/HSPersistentStorage;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getPushTokenSyncRoute()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "push_token_sync_route"
|
|
|
|
.line 339
|
|
invoke-virtual {p0, v0}, Lcom/helpshift/storage/HSPersistentStorage;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getRequestedScreenOrientation()I
|
|
.locals 1
|
|
|
|
const-string v0, "screenOrientation"
|
|
|
|
.line 247
|
|
invoke-virtual {p0, v0}, Lcom/helpshift/storage/HSPersistentStorage;->getInt(Ljava/lang/String;)I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getString(Ljava/lang/String;)Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/helpshift/storage/HSPersistentStorage;->preferences:Lcom/helpshift/storage/ISharedPreferencesStore;
|
|
|
|
.line 440
|
|
invoke-interface {v0, p1}, Lcom/helpshift/storage/ISharedPreferencesStore;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public getUserDataKeyMapping()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "user_data_key_mapping"
|
|
|
|
.line 347
|
|
invoke-virtual {p0, v0}, Lcom/helpshift/storage/HSPersistentStorage;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getWebchatUiConfigData()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "ui_config_data"
|
|
|
|
.line 255
|
|
invoke-virtual {p0, v0}, Lcom/helpshift/storage/HSPersistentStorage;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public isClearAnonymousUser()Z
|
|
.locals 1
|
|
|
|
const-string v0, "clear_anonymous_user"
|
|
|
|
.line 199
|
|
invoke-virtual {p0, v0}, Lcom/helpshift/storage/HSPersistentStorage;->getBoolean(Ljava/lang/String;)Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final putBoolean(Ljava/lang/String;Z)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/helpshift/storage/HSPersistentStorage;->preferences:Lcom/helpshift/storage/ISharedPreferencesStore;
|
|
|
|
.line 428
|
|
invoke-interface {v0, p1, p2}, Lcom/helpshift/storage/ISharedPreferencesStore;->putBoolean(Ljava/lang/String;Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final putInt(Ljava/lang/String;I)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/helpshift/storage/HSPersistentStorage;->preferences:Lcom/helpshift/storage/ISharedPreferencesStore;
|
|
|
|
.line 420
|
|
invoke-interface {v0, p1, p2}, Lcom/helpshift/storage/ISharedPreferencesStore;->putInt(Ljava/lang/String;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final putLong(Ljava/lang/String;J)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/helpshift/storage/HSPersistentStorage;->preferences:Lcom/helpshift/storage/ISharedPreferencesStore;
|
|
|
|
.line 412
|
|
invoke-interface {v0, p1, p2, p3}, Lcom/helpshift/storage/ISharedPreferencesStore;->putLong(Ljava/lang/String;J)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/helpshift/storage/HSPersistentStorage;->preferences:Lcom/helpshift/storage/ISharedPreferencesStore;
|
|
|
|
.line 436
|
|
invoke-interface {v0, p1, p2}, Lcom/helpshift/storage/ISharedPreferencesStore;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public removeActiveUser()V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/helpshift/storage/HSPersistentStorage;->preferences:Lcom/helpshift/storage/ISharedPreferencesStore;
|
|
|
|
const-string v1, "active_user"
|
|
|
|
.line 120
|
|
invoke-interface {v0, v1}, Lcom/helpshift/storage/ISharedPreferencesStore;->remove(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public removeAnonymousUserIdMap()V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/helpshift/storage/HSPersistentStorage;->preferences:Lcom/helpshift/storage/ISharedPreferencesStore;
|
|
|
|
const-string v1, "anon_user_id_map"
|
|
|
|
.line 327
|
|
invoke-interface {v0, v1}, Lcom/helpshift/storage/ISharedPreferencesStore;->remove(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public saveAdditionalHelpcenterData(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const-string v0, "additional_hc_data"
|
|
|
|
.line 174
|
|
invoke-virtual {p0, v0, p1}, Lcom/helpshift/storage/HSPersistentStorage;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public saveLocalStorageData(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const-string v0, "local_storage_data"
|
|
|
|
.line 157
|
|
invoke-virtual {p0, v0, p1}, Lcom/helpshift/storage/HSPersistentStorage;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setActiveUser(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const-string v0, "active_user"
|
|
|
|
.line 109
|
|
invoke-virtual {p0, v0, p1}, Lcom/helpshift/storage/HSPersistentStorage;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setBreadCrumbs(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 385
|
|
invoke-static {p1}, Lcom/helpshift/util/Utils;->isEmpty(Ljava/lang/String;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 386
|
|
new-instance p1, Lorg/json/JSONArray;
|
|
|
|
invoke-direct {p1}, Lorg/json/JSONArray;-><init>()V
|
|
|
|
invoke-virtual {p1}, Lorg/json/JSONArray;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
:cond_0
|
|
const-string v0, "breadcrumbs"
|
|
|
|
.line 388
|
|
invoke-virtual {p0, v0, p1}, Lcom/helpshift/storage/HSPersistentStorage;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setCIFs(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const-string v0, "custom_issue_fields"
|
|
|
|
.line 96
|
|
invoke-virtual {p0, v0, p1}, Lcom/helpshift/storage/HSPersistentStorage;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setConfig(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const-string v0, "config"
|
|
|
|
.line 124
|
|
invoke-virtual {p0, v0, p1}, Lcom/helpshift/storage/HSPersistentStorage;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setCurrentPushToken(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const-string v0, "current_push_token"
|
|
|
|
.line 187
|
|
invoke-virtual {p0, v0, p1}, Lcom/helpshift/storage/HSPersistentStorage;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setDomain(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const-string v0, "domain"
|
|
|
|
.line 66
|
|
invoke-virtual {p0, v0, p1}, Lcom/helpshift/storage/HSPersistentStorage;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setEnableInAppNotification(Z)V
|
|
.locals 1
|
|
|
|
const-string v0, "enable_inapp_notificaiton"
|
|
|
|
.line 235
|
|
invoke-virtual {p0, v0, p1}, Lcom/helpshift/storage/HSPersistentStorage;->putBoolean(Ljava/lang/String;Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setFailedAnalyticsEvents(Lorg/json/JSONArray;)V
|
|
.locals 1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
.line 353
|
|
new-instance p1, Lorg/json/JSONArray;
|
|
|
|
invoke-direct {p1}, Lorg/json/JSONArray;-><init>()V
|
|
|
|
:cond_0
|
|
const-string v0, "failed_analytics_events"
|
|
|
|
.line 356
|
|
invoke-virtual {p1}, Lorg/json/JSONArray;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/helpshift/storage/HSPersistentStorage;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setHelpcenterUiConfigData(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const-string v0, "helpcenter_ui_config_data"
|
|
|
|
.line 259
|
|
invoke-virtual {p0, v0, p1}, Lcom/helpshift/storage/HSPersistentStorage;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setHost(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const-string v0, "host"
|
|
|
|
.line 75
|
|
invoke-virtual {p0, v0, p1}, Lcom/helpshift/storage/HSPersistentStorage;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setHsDeviceId(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const-string v0, "hs_did"
|
|
|
|
.line 272
|
|
invoke-virtual {p0, v0, p1}, Lcom/helpshift/storage/HSPersistentStorage;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setLanguage(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const-string v0, "language"
|
|
|
|
.line 140
|
|
invoke-virtual {p0, v0, p1}, Lcom/helpshift/storage/HSPersistentStorage;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setLastAppLaunchEventSyncTime(J)V
|
|
.locals 1
|
|
|
|
const-string v0, "app_launch_last_sync_timestamp"
|
|
|
|
.line 281
|
|
invoke-virtual {p0, v0, p1, p2}, Lcom/helpshift/storage/HSPersistentStorage;->putLong(Ljava/lang/String;J)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setLastHCCacheEvictedTime(J)V
|
|
.locals 1
|
|
|
|
const-string v0, "last_helpcenter_cache_eviction_time"
|
|
|
|
.line 404
|
|
invoke-virtual {p0, v0, p1, p2}, Lcom/helpshift/storage/HSPersistentStorage;->putLong(Ljava/lang/String;J)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setLastRequestUnreadCountApiAccess(J)V
|
|
.locals 1
|
|
|
|
const-string v0, "last_unread_count_api_access"
|
|
|
|
.line 360
|
|
invoke-virtual {p0, v0, p1, p2}, Lcom/helpshift/storage/HSPersistentStorage;->putLong(Ljava/lang/String;J)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setNotificationChannelId(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const-string v0, "notificationChannelId"
|
|
|
|
.line 223
|
|
invoke-virtual {p0, v0, p1}, Lcom/helpshift/storage/HSPersistentStorage;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setNotificationIcon(I)V
|
|
.locals 1
|
|
|
|
const-string v0, "notificationIcon"
|
|
|
|
.line 227
|
|
invoke-virtual {p0, v0, p1}, Lcom/helpshift/storage/HSPersistentStorage;->putInt(Ljava/lang/String;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setNotificationLargeIcon(I)V
|
|
.locals 1
|
|
|
|
const-string v0, "notificationLargeIcon"
|
|
|
|
.line 231
|
|
invoke-virtual {p0, v0, p1}, Lcom/helpshift/storage/HSPersistentStorage;->putInt(Ljava/lang/String;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setNotificationSoundId(I)V
|
|
.locals 1
|
|
|
|
const-string v0, "notificationSoundId"
|
|
|
|
.line 219
|
|
invoke-virtual {p0, v0, p1}, Lcom/helpshift/storage/HSPersistentStorage;->putInt(Ljava/lang/String;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setPlatformId(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const-string v0, "platform_id"
|
|
|
|
.line 83
|
|
invoke-virtual {p0, v0, p1}, Lcom/helpshift/storage/HSPersistentStorage;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setRequestedScreenOrientation(I)V
|
|
.locals 1
|
|
|
|
const-string v0, "screenOrientation"
|
|
|
|
.line 243
|
|
invoke-virtual {p0, v0, p1}, Lcom/helpshift/storage/HSPersistentStorage;->putInt(Ljava/lang/String;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setWebchatUiConfigData(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const-string v0, "ui_config_data"
|
|
|
|
.line 251
|
|
invoke-virtual {p0, v0, p1}, Lcom/helpshift/storage/HSPersistentStorage;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public storeAnonymousUserIdMap(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const-string v0, "anon_user_id_map"
|
|
|
|
.line 319
|
|
invoke-virtual {p0, v0, p1}, Lcom/helpshift/storage/HSPersistentStorage;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public storeAppLaunchEvents(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const-string v0, "app_launch_events"
|
|
|
|
.line 290
|
|
invoke-virtual {p0, v0, p1}, Lcom/helpshift/storage/HSPersistentStorage;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public storeNetworkHeaders(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const-string v0, "network_headers"
|
|
|
|
.line 307
|
|
invoke-virtual {p0, v0, p1}, Lcom/helpshift/storage/HSPersistentStorage;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public storeNotificationContent(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const-string v0, "notification_content"
|
|
|
|
.line 303
|
|
invoke-virtual {p0, v0, p1}, Lcom/helpshift/storage/HSPersistentStorage;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public storePollingRoute(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const-string v0, "polling_route"
|
|
|
|
.line 315
|
|
invoke-virtual {p0, v0, p1}, Lcom/helpshift/storage/HSPersistentStorage;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public storePushTokenRoute(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const-string v0, "push_token_sync_route"
|
|
|
|
.line 311
|
|
invoke-virtual {p0, v0, p1}, Lcom/helpshift/storage/HSPersistentStorage;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public storeUserDataKeyMapping(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const-string v0, "user_data_key_mapping"
|
|
|
|
.line 299
|
|
invoke-virtual {p0, v0, p1}, Lcom/helpshift/storage/HSPersistentStorage;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|