Skip to content

Commit

Permalink
PERA-1593 :: Remove algosdk-aar module (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeltchuang authored Feb 11, 2025
1 parent 8801b83 commit b89f5a3
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 15 deletions.
Binary file removed algosdk-aar/algosdk.aar
Binary file not shown.
2 changes: 0 additions & 2 deletions algosdk-aar/build.gradle

This file was deleted.

12 changes: 7 additions & 5 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,9 @@ android {

dependencies {
implementation project(':common-sdk')
implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])

implementation libs.pera.compact.decimal.format
implementation libs.pera.walletconnect.v1

implementation libs.kotlinx.coroutines.core
implementation libs.kotlinx.coroutines.android
Expand Down Expand Up @@ -311,12 +313,12 @@ dependencies {
implementation libs.moshi.kotlin

// Wallet Connect v2
implementation(platform(libs.walletconnect))
implementation(libs.walletconnect.android.core) {
implementation(platform(libs.walletconnect.v2))
implementation(libs.walletconnect.v2.android.core) {
exclude group: 'com.jakewharton.timber', module: 'timber'
}
implementation libs.sign
implementation libs.web3wallet
implementation libs.walletconnect.v2.sign
implementation libs.walletconnect.v2.web3wallet

// ExoPlayer
implementation libs.exoplayer
Expand Down
Binary file removed app/libs/peracompactdecimalformat.aar
Binary file not shown.
Binary file removed app/libs/walletconnect.aar
Binary file not shown.
2 changes: 1 addition & 1 deletion common-sdk/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ android {
dependencies {

api(libs.algosdk)
api(project(":algosdk-aar"))
api(libs.algorand.go.mobile)

implementation(libs.xhdwalletapi)
implementation(libs.kotlin.bip39)
Expand Down
18 changes: 12 additions & 6 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ android-namespace = "com.algorand.android"
android-targetSdk = "34"
android-versionCode = "124"
android-versionName = "5.202503.0"
algosdk = "2.6.0"
algoSdk = "2.6.0"
algoGoMobilesdk = "1.0.1"
androidx-compose-activity = "1.9.3"
androidx-compose-fragment = "1.8.5"
androidx-compose-material3 = "1.3.1"
Expand Down Expand Up @@ -71,6 +72,8 @@ navigation = "2.8.4"
navigation-compose = "2.8.0-alpha10"
okhttp = "4.12.0"
paging = "3.3.4"
peraCompactDecimalFormat = "1.0.1"
peraWalletConnect = "1.0.1"
retrofit = "2.11.0"
review = "2.0.2"
room = "2.7.0-alpha07"
Expand Down Expand Up @@ -188,7 +191,9 @@ zxing-android-embedded = { module = "com.journeyapps:zxing-android-embedded", ve
napier = { module = "io.github.aakira:napier", version.ref = "napier" }

# Wallet SDK - Security / Blockchain / Crypto
algosdk = { module = "com.algorand:algosdk", version.ref = "algosdk" }
algosdk = { module = "com.algorand:algosdk", version.ref = "algoSdk" }
algorand-go-mobile = { group = "io.github.perawallet", name = "algorand-go-mobile-sdk", version.ref = "algoGoMobilesdk" }
pera-compact-decimal-format = { group = "io.github.perawallet", name = "peracompactdecimalformat", version.ref = "peraCompactDecimalFormat" }
# jna = "net.java.dev.jna:jna:5.14.0@aar"
xhdwalletapi = { module = "foundation.algorand.xhdwalletapi:xhdwalletapi-android", version.ref = "xhdwalletapi" }
kotlin-bip39 = { module = "cash.z.ecc.android:kotlin-bip39", version.ref = "bip39" }
Expand All @@ -199,10 +204,11 @@ glide-compiler = { module = "com.github.bumptech.glide:compiler", version.ref =
retrofit = { module = "com.squareup.retrofit2:retrofit", version.ref = "retrofit" }

# Wallet Connect
sign = { module = "com.walletconnect:sign" }
walletconnect = { module = "com.walletconnect:android-bom", version.ref = "walletConnectBom" }
walletconnect-android-core = { module = "com.walletconnect:android-core" }
web3wallet = { module = "com.walletconnect:web3wallet" }
pera-walletconnect-v1 = { group = "io.github.perawallet", name = "perawalletconnect", version.ref = "peraWalletConnect" }
walletconnect-v2-sign = { module = "com.walletconnect:sign" }
walletconnect-v2 = { module = "com.walletconnect:android-bom", version.ref = "walletConnectBom" }
walletconnect-v2-android-core = { module = "com.walletconnect:android-core" }
walletconnect-v2-web3wallet = { module = "com.walletconnect:web3wallet" }

[bundles]
firebase = ["firebase-analytics",
Expand Down
1 change: 0 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@ include(":composeTestApp")
include(":wallet-sdk")
include(":test-utils")
include(":common-sdk")
include(":algosdk-aar")

0 comments on commit b89f5a3

Please sign in to comment.