Skip to content

Commit

Permalink
CMP-4885: removed Deprecated annotation from DidomiModule.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
felipe-didomi committed Feb 4, 2025
1 parent e559ead commit 07bb7e3
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions android/src/main/java/io/didomi/reactnative/DidomiModule.kt
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,6 @@ class DidomiModule(reactContext: ReactApplicationContext) : ReactContextBaseJava
}

@ReactMethod
@Deprecated("Use initializeWithParameters instead", replaceWith = ReplaceWith("initializeWithParameters()"))
fun initialize(
userAgentName: String,
userAgentVersion: String,
Expand Down Expand Up @@ -628,7 +627,6 @@ class DidomiModule(reactContext: ReactApplicationContext) : ReactContextBaseJava
}

@ReactMethod
@Deprecated("Use shouldUserStatusBeCollected instead", replaceWith = ReplaceWith("shouldUserStatusBeCollected()"))
fun isUserConsentStatusPartial(promise: Promise) {
try {
promise.resolve(Didomi.getInstance().isUserConsentStatusPartial)
Expand Down Expand Up @@ -693,7 +691,6 @@ class DidomiModule(reactContext: ReactApplicationContext) : ReactContextBaseJava
}

@ReactMethod
@Deprecated("Use setUserWithAuthParams instead", replaceWith = ReplaceWith("setUserWithAuthParams()"))
fun setUserWithHashAuth(
organizationUserId: String,
algorithm: String,
Expand All @@ -715,7 +712,6 @@ class DidomiModule(reactContext: ReactApplicationContext) : ReactContextBaseJava
}

@ReactMethod
@Deprecated("Use setUserWithAuthParamsAndSetupUI instead", replaceWith = ReplaceWith("setUserWithAuthParamsAndSetupUI()"))
fun setUserWithHashAuthAndSetupUI(
organizationUserId: String,
algorithm: String,
Expand All @@ -738,7 +734,6 @@ class DidomiModule(reactContext: ReactApplicationContext) : ReactContextBaseJava
}

@ReactMethod
@Deprecated("Use setUserWithAuthParams instead", replaceWith = ReplaceWith("setUserWithAuthParams()"))
fun setUserWithHashAuthWithExpiration(
organizationUserId: String,
algorithm: String,
Expand All @@ -762,7 +757,6 @@ class DidomiModule(reactContext: ReactApplicationContext) : ReactContextBaseJava
}

@ReactMethod
@Deprecated("Use setUserWithAuthParamsAndSetupUI instead", replaceWith = ReplaceWith("setUserWithAuthParamsAndSetupUI()"))
fun setUserWithHashAuthWithExpirationAndSetupUI(
organizationUserId: String,
algorithm: String,
Expand All @@ -787,7 +781,6 @@ class DidomiModule(reactContext: ReactApplicationContext) : ReactContextBaseJava
}

@ReactMethod
@Deprecated("Use setUserWithAuthParams instead", replaceWith = ReplaceWith("setUserWithAuthParams()"))
fun setUserWithEncryptionAuth(
organizationUserId: String,
algorithm: String,
Expand All @@ -807,7 +800,6 @@ class DidomiModule(reactContext: ReactApplicationContext) : ReactContextBaseJava
}

@ReactMethod
@Deprecated("Use setUserWithAuthParamsAndSetupUI instead", replaceWith = ReplaceWith("setUserWithAuthParamsAndSetupUI()"))
fun setUserWithEncryptionAuthAndSetupUI(
organizationUserId: String,
algorithm: String,
Expand All @@ -828,7 +820,6 @@ class DidomiModule(reactContext: ReactApplicationContext) : ReactContextBaseJava
}

@ReactMethod
@Deprecated("Use setUserWithAuthParams instead", replaceWith = ReplaceWith("setUserWithAuthParams()"))
fun setUserWithEncryptionAuthWithExpiration(
organizationUserId: String,
algorithm: String,
Expand All @@ -850,7 +841,6 @@ class DidomiModule(reactContext: ReactApplicationContext) : ReactContextBaseJava
}

@ReactMethod
@Deprecated("Use setUserWithAuthParamsAndSetupUI instead", replaceWith = ReplaceWith("setUserWithAuthParamsAndSetupUI()"))
fun setUserWithEncryptionAuthWithExpirationAndSetupUI(
organizationUserId: String,
algorithm: String,
Expand Down

0 comments on commit 07bb7e3

Please sign in to comment.