Skip to content

Commit

Permalink
chore: Remove useless notificationType and notificationId
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielGreenEngineer committed Dec 12, 2024
1 parent db86c36 commit 4c5317e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,6 @@ open class SDK {
tag: String,
preferencesKey: String,
stream: String,
notificationType: String,
notificationId: String,
autoSendPushToken: Boolean = true,
needReInitialization: Boolean = false
) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ class Personaclick private constructor() : SDK() {
BuildConfig.DEBUG -> "http://192.168.1.8:8080/"
else -> "https://api.personaclick.com/"
}
private const val NOTIFICATION_TYPE: String = "PERSONACLICK_NOTIFICATION_TYPE"
private const val NOTIFICATION_ID: String = "PERSONACLICK_NOTIFICATION_ID"

fun getInstance(): SDK = instance

Expand All @@ -38,8 +36,6 @@ class Personaclick private constructor() : SDK() {
tag = TAG,
preferencesKey = PREFERENCES_KEY,
stream = PLATFORM_ANDROID,
notificationType = NOTIFICATION_TYPE,
notificationId = NOTIFICATION_ID,
autoSendPushToken = autoSendPushToken
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ class REES46 private constructor() : SDK() {
private const val RELEASE_API_URL: String = "https://api.rees46.ru/"
private const val PREFERENCES_KEY: String = "rees46.sdk"
private const val PLATFORM_ANDROID: String = "android"
private const val NOTIFICATION_TYPE = "REES46_NOTIFICATION_TYPE"
private const val NOTIFICATION_ID = "REES46_NOTIFICATION_ID"

private val API_URL: String = when {
BuildConfig.DEBUG -> DEBUG_API_URL
Expand Down Expand Up @@ -53,8 +51,6 @@ class REES46 private constructor() : SDK() {
tag = TAG,
preferencesKey = PREFERENCES_KEY,
stream = PLATFORM_ANDROID,
notificationType = NOTIFICATION_TYPE,
notificationId = NOTIFICATION_ID,
autoSendPushToken = autoSendPushToken,
needReInitialization = true
)
Expand Down

0 comments on commit 4c5317e

Please sign in to comment.