Skip to content

Commit

Permalink
Upgrade onionwrapper to 0.1.0 and snowflake to 2.9.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
akwizgran committed Mar 9, 2024
1 parent eda3325 commit 098f632
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@ dependencies {
kapt "com.google.dagger:hilt-compiler:$hilt_version"

// Tor
implementation "org.briarproject:onionwrapper-android:0.0.7"
implementation "org.briarproject:onionwrapper-android:0.1.0"
tor 'org.briarproject:tor-android:0.4.8.9-1'
tor 'org.briarproject:obfs4proxy-android:0.0.14-tor2'
tor 'org.briarproject:snowflake-android:2.5.1'
tor 'org.briarproject:snowflake-android:2.9.1'
implementation 'org.briarproject:moat-api:0.2'
implementation 'com.squareup.okhttp3:okhttp:4.12.0'

Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/org/onionshare/android/tor/TorManager.kt
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ class TorManager(
LOG.info("Using built-in bridges...")
val countryCode = locationUtils.currentCountry
val builtInBridges = circumventionProvider.getSuitableBridgeTypes(countryCode).flatMap { type ->
circumventionProvider.getBridges(type, countryCode, SDK_INT >= 25)
circumventionProvider.getBridges(type, countryCode)
}
try {
useBridges(builtInBridges)
Expand Down

0 comments on commit 098f632

Please sign in to comment.