Skip to content

Commit

Permalink
Bump mobile-sdk-rs version
Browse files Browse the repository at this point in the history
  • Loading branch information
Juliano1612 committed Sep 25, 2024
1 parent ab7823b commit 8a7a7d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion MobileSdk/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ android {
}

dependencies {
api("com.spruceid.mobile.sdk.rs:mobilesdkrs:0.0.30")
api("com.spruceid.mobile.sdk.rs:mobilesdkrs:0.0.31")
//noinspection GradleCompatible
implementation("com.android.support:appcompat-v7:28.0.0")
/* Begin UI dependencies */
Expand Down
4 changes: 2 additions & 2 deletions MobileSdk/src/main/java/com/spruceid/mobile/sdk/MDoc.kt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package com.spruceid.mobile.sdk

import android.util.Log
import com.spruceid.mobile.sdk.rs.MDoc as InnerMDoc
import com.spruceid.mobile.sdk.rs.Mdoc as InnerMDoc

class MDoc(id: String, issuerAuth: ByteArray, val keyAlias: String) : BaseCredential(id) {
val inner: InnerMDoc

init {
try {
inner = InnerMDoc.fromCbor(issuerAuth)
inner = InnerMDoc.fromCborEncodedDocument(issuerAuth, keyAlias)
} catch (e: Throwable) {
Log.e("MDoc.init", e.toString())
throw e
Expand Down

0 comments on commit 8a7a7d9

Please sign in to comment.