BIT-2169: Add @Keep to retrofit interface to avoid proguard crash in release (#1187)

This commit is contained in:
David Perez 2024-03-29 11:04:05 -05:00 committed by Álison Fernandes
parent 8f94d48297
commit bb949a6602

View file

@ -1,5 +1,6 @@
package com.x8bit.bitwarden.data.auth.datasource.network.api
import androidx.annotation.Keep
import com.x8bit.bitwarden.data.auth.datasource.network.model.TrustedDeviceKeysRequestJson
import com.x8bit.bitwarden.data.auth.datasource.network.model.TrustedDeviceKeysResponseJson
import retrofit2.http.Body
@ -9,6 +10,7 @@ import retrofit2.http.Path
/**
* Defines raw calls under the /devices API that require authentication.
*/
@Keep
interface AuthenticatedDevicesApi {
@PUT("/devices/{appId}/keys")
suspend fun updateTrustedDeviceKeys(