Skip to content

Commit 800c734

Browse files
committed
Upgraded all examples
1 parent 37f0020 commit 800c734

File tree

36 files changed

+834
-549
lines changed

36 files changed

+834
-549
lines changed

android/android-aggregate-verifier-example/app/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ android {
88

99
defaultConfig {
1010
applicationId "com.sbz.web3authdemoapp"
11-
minSdk 24
11+
minSdk 26
1212
targetSdk 34
1313
versionCode 1
1414
versionName "1.0"
@@ -33,13 +33,12 @@ android {
3333
}
3434

3535
dependencies {
36-
3736
implementation 'androidx.core:core-ktx:1.7.0'
3837
implementation 'androidx.appcompat:appcompat:1.4.2'
3938
implementation 'com.google.android.material:material:1.6.1'
4039
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
4140
implementation 'com.google.code.gson:gson:2.9.1'
42-
implementation 'com.github.web3auth:web3auth-android-sdk:8.0.1'
41+
implementation 'com.github.web3auth:web3auth-android-sdk:9.0.0'
4342
implementation 'org.web3j:core:4.8.7-android'
4443
testImplementation 'junit:junit:4.13.2'
4544
androidTestImplementation 'androidx.test.ext:junit:1.1.3'

android/android-aggregate-verifier-example/app/src/main/java/com/sbz/web3authdemoapp/MainActivity.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ class MainActivity : AppCompatActivity() {
4545

4646
web3Auth = Web3Auth(
4747
Web3AuthOptions(
48-
context = this,
4948
clientId = getString(R.string.web3auth_project_id), // pass over your Web3Auth Client ID from Developer Dashboard
5049
network = Network.SAPPHIRE_MAINNET, // pass over the network you want to use (MAINNET or TESTNET or CYAN, AQUA, SAPPHIRE_MAINNET or SAPPHIRE_TESTNET)
5150
buildEnv = BuildEnv.PRODUCTION,
@@ -84,7 +83,7 @@ class MainActivity : AppCompatActivity() {
8483
clientId = getString(R.string.web3auth_auth0_client_id)
8584
)
8685
)
87-
)
86+
), context = this
8887
)
8988

9089
// Handle user signing in when app is not alive

android/android-aggregate-verifier-example/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22
plugins {
3-
id 'com.android.application' version '7.2.1' apply false
4-
id 'com.android.library' version '7.2.1' apply false
3+
id 'com.android.application' version '7.3.1' apply false
4+
id 'com.android.library' version '7.3.1' apply false
55
id 'org.jetbrains.kotlin.android' version '1.7.10' apply false
66
}
77

Binary file not shown.
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
#Wed Aug 10 14:46:12 IST 2022
21
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
42
distributionPath=wrapper/dists
5-
zipStorePath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME
7+
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)