Skip to content

Commit

Permalink
Upgraded all examples
Browse files Browse the repository at this point in the history
  • Loading branch information
shahbaz17 committed Nov 26, 2024
1 parent 37f0020 commit 800c734
Show file tree
Hide file tree
Showing 36 changed files with 834 additions and 549 deletions.
5 changes: 2 additions & 3 deletions android/android-aggregate-verifier-example/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android {

defaultConfig {
applicationId "com.sbz.web3authdemoapp"
minSdk 24
minSdk 26
targetSdk 34
versionCode 1
versionName "1.0"
Expand All @@ -33,13 +33,12 @@ android {
}

dependencies {

implementation 'androidx.core:core-ktx:1.7.0'
implementation 'androidx.appcompat:appcompat:1.4.2'
implementation 'com.google.android.material:material:1.6.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'com.google.code.gson:gson:2.9.1'
implementation 'com.github.web3auth:web3auth-android-sdk:8.0.1'
implementation 'com.github.web3auth:web3auth-android-sdk:9.0.0'
implementation 'org.web3j:core:4.8.7-android'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ class MainActivity : AppCompatActivity() {

web3Auth = Web3Auth(
Web3AuthOptions(
context = this,
clientId = getString(R.string.web3auth_project_id), // pass over your Web3Auth Client ID from Developer Dashboard
network = Network.SAPPHIRE_MAINNET, // pass over the network you want to use (MAINNET or TESTNET or CYAN, AQUA, SAPPHIRE_MAINNET or SAPPHIRE_TESTNET)
buildEnv = BuildEnv.PRODUCTION,
Expand Down Expand Up @@ -84,7 +83,7 @@ class MainActivity : AppCompatActivity() {
clientId = getString(R.string.web3auth_auth0_client_id)
)
)
)
), context = this
)

// Handle user signing in when app is not alive
Expand Down
4 changes: 2 additions & 2 deletions android/android-aggregate-verifier-example/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '7.2.1' apply false
id 'com.android.library' version '7.2.1' apply false
id 'com.android.application' version '7.3.1' apply false
id 'com.android.library' version '7.3.1' apply false
id 'org.jetbrains.kotlin.android' version '1.7.10' apply false
}

Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#Wed Aug 10 14:46:12 IST 2022
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading

0 comments on commit 800c734

Please sign in to comment.