diff --git a/single-factor-auth-android/sfa-android-quick-start/app/build.gradle b/single-factor-auth-android/sfa-android-quick-start/app/build.gradle index 7f455ddf..d5e63e77 100644 --- a/single-factor-auth-android/sfa-android-quick-start/app/build.gradle +++ b/single-factor-auth-android/sfa-android-quick-start/app/build.gradle @@ -40,9 +40,10 @@ android { dependencies { // IMP START - Installation - implementation 'com.github.web3auth:single-factor-auth-android:3.0.0' + implementation 'com.github.grvgoel81:single-factor-auth-android:9.7.2' // IMP END - Installation implementation platform('com.google.firebase:firebase-bom:31.0.2') + implementation 'com.github.Web3Auth:session-manager-android:feat~namespace_addition_in_API-SNAPSHOT' implementation 'com.google.firebase:firebase-auth-ktx' implementation 'com.google.code.gson:gson:2.9.1' implementation 'com.auth0.android:jwtdecode:2.0.2' @@ -50,6 +51,7 @@ dependencies { implementation 'androidx.appcompat:appcompat:1.4.1' implementation 'com.google.android.material:material:1.5.0' implementation 'androidx.constraintlayout:constraintlayout:2.1.3' + implementation 'org.web3j:core:4.8.8-android' testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.3' androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' diff --git a/single-factor-auth-android/sfa-android-quick-start/app/src/main/java/com/example/androidsfaexample/MainActivity.kt b/single-factor-auth-android/sfa-android-quick-start/app/src/main/java/com/example/androidsfaexample/MainActivity.kt index b1d1a50c..03f36aba 100644 --- a/single-factor-auth-android/sfa-android-quick-start/app/src/main/java/com/example/androidsfaexample/MainActivity.kt +++ b/single-factor-auth-android/sfa-android-quick-start/app/src/main/java/com/example/androidsfaexample/MainActivity.kt @@ -79,7 +79,7 @@ class MainActivity : AppCompatActivity() { if(this.sessionData == null) { Log.i("Session", "No active session found") } else { - torusKey = sessionData!!.privKey + torusKey = sessionData!!.privateKey publicAddress = sessionData!!.publicAddress Log.i("Private Key", torusKey!!.trimIndent()) Log.i("User Info", sessionData!!.userInfo.toString()) @@ -112,7 +112,7 @@ class MainActivity : AppCompatActivity() { val signMsgButton = findViewById