mirror of
https://github.com/bitwarden/android.git
synced 2026-03-12 13:14:35 -05:00
BIT-2169: Add @Keep to retrofit interface to avoid proguard crash in release (#1187)
This commit is contained in:
committed by
Álison Fernandes
parent
8f94d48297
commit
bb949a6602
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user