diff --git a/core/build.gradle b/core/build.gradle index b9a00ba..919dc78 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -14,13 +14,13 @@ dependencies { api fileTree(dir: 'libs', include: ['*.jar']) api 'com.google.guava:guava:18.0' //TODO ToStringHelper update for updating to 19.0+ - api 'com.google.code.findbugs:jsr305:3.0.2' //latest as of 10/2023 - api 'com.madgag.spongycastle:core:1.58.0.0' //latest as of 10/2023 - api 'com.lambdaworks:scrypt:1.4.0' //latest as of 10/2023 - api 'com.google.protobuf:protobuf-java:3.25.3' // updated on 7/22/2024 - api 'org.slf4j:slf4j-jdk14:2.0.13' //latest release ver as of 7/22/2024 - api 'org.json:json:20240303' //latest as of 7/22/2024 - api 'com.squareup.okhttp:okhttp:2.7.5' //latest as of 10/23 + api 'com.google.code.findbugs:jsr305:3.0.2' + api 'com.madgag.spongycastle:core:1.58.0.0' + api 'com.lambdaworks:scrypt:1.4.0' + api 'com.google.protobuf:protobuf-java:3.25.3' + api 'org.slf4j:slf4j-jdk14:2.0.13' + api 'org.json:json:20240303' + api 'com.squareup.okhttp:okhttp:2.7.5' testImplementation 'junit:junit:4.13.2' testImplementation 'org.mockito:mockito-all:1.10.19' diff --git a/wallet/build.gradle b/wallet/build.gradle index ba7eb68..18095d5 100644 --- a/wallet/build.gradle +++ b/wallet/build.gradle @@ -14,10 +14,10 @@ android { applicationId "com.vergepay.wallet" minSdk 31 targetSdkVersion 34 - compileSdkVersion 33 + compileSdkVersion 34 ndkVersion "21.3.6528147" //shouldn't matter but gradle complains - versionCode 20561 - versionName "v2.6" + versionCode 20570 + versionName "v2.7" ndk { abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86_64' } diff --git a/wallet/src/main/java/com/vergepay/wallet/ui/WalletActivity.java b/wallet/src/main/java/com/vergepay/wallet/ui/WalletActivity.java index d25b69b..3998334 100644 --- a/wallet/src/main/java/com/vergepay/wallet/ui/WalletActivity.java +++ b/wallet/src/main/java/com/vergepay/wallet/ui/WalletActivity.java @@ -1,8 +1,11 @@ package com.vergepay.wallet.ui; + + import android.app.Activity; import android.app.AlertDialog; import android.content.ActivityNotFoundException; +import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.IntentFilter; @@ -120,7 +123,7 @@ protected void onCreate(Bundle savedInstanceState) { orbotStatusReceiver = new OrbotStatusReceiver(this); IntentFilter intentFilter = new IntentFilter("org.torproject.android.intent.action.STATUS"); - registerReceiver(orbotStatusReceiver, intentFilter); + registerReceiver(orbotStatusReceiver, intentFilter, Context.RECEIVER_EXPORTED); if (getWalletApplication().getWallet() == null) { startIntro();