mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 07:05:35 +03:00
BIT-2169: Add @Keep to retrofit interface to avoid proguard crash in release (#1187)
This commit is contained in:
parent
8f94d48297
commit
bb949a6602
1 changed files with 2 additions and 0 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue