Skip to content

Commit

Permalink
chore(deps): update dependency com.github.trinsic-id:sdk-android-ui t…
Browse files Browse the repository at this point in the history
…o v1 (#254)
  • Loading branch information
mewmba authored Sep 17, 2024
1 parent 0701bd4 commit 058ebd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui-android/samples/android_sample/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ dependencies {
testImplementation(libs.junit)
androidTestImplementation(libs.ext.junit)
androidTestImplementation(libs.espresso.core)
implementation("com.github.trinsic-id:sdk-android-ui:0.3.7")
implementation("com.github.trinsic-id:sdk-android-ui:1.0.0")
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ public void onClick(View view) {
String launchUrl;
try {
launchUrl = createLaunchUrl();
trinsicUI.LaunchSession(MainActivity.this, launchUrl, CALLBACK_REDIRECT_URL);
} catch (Exception e) {
Toast.makeText(MainActivity.this, "Failed to create launch URL: " + e.getMessage(), Toast.LENGTH_LONG);
throw new RuntimeException(e);
}

trinsicUI.LaunchSession(launchUrl, CALLBACK_REDIRECT_URL);
}
});
}
Expand Down

0 comments on commit 058ebd7

Please sign in to comment.