Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
akumaigorodski committed Oct 19, 2023
1 parent 9c84069 commit c26d4ea
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Simple Bitcoin Wallet (aka SBW) is a non-custodial Bitcoin wallet for Android.
```
git clone https://github.com/btcontract/wallet.git
cd wallet
git checkout 2.5.5
git checkout 2.5.6
podman build -t sbw .
podman run -v $PWD:/app/simplebitcoinwallet/wallet:z sbw
```
Expand All @@ -32,15 +32,15 @@ podman run -v $PWD:/app/simplebitcoinwallet/wallet:z sbw
Install Android SDK, create a `keystore.jks` using `keytool`.

```
$ <Android SDK dir>/build-tools/<version>/zipalign -v 4 app/build/outputs/apk/release/SBW-2.5.5.apk app/build/outputs/apk/release/SBW-2.5.5-aligned.apk
$ <Android SDK dir>/build-tools/<version>/zipalign -v 4 app/build/outputs/apk/release/SBW-2.5.6.apk app/build/outputs/apk/release/SBW-2.5.6-aligned.apk
$ <Android SDK dir>/build-tools/<version>/apksigner sign --ks <path to keystore.jks> --ks-key-alias <signing key alias> --v1-signing-enabled true --v2-signing-enabled true app/build/outputs/apk/release/SBW-2.5.5-aligned.apk
$ <Android SDK dir>/build-tools/<version>/apksigner sign --ks <path to keystore.jks> --ks-key-alias <signing key alias> --v1-signing-enabled true --v2-signing-enabled true app/build/outputs/apk/release/SBW-2.5.6-aligned.apk
```

## Verification with `apksigner`

```
$ '<Android SDK dir>/build-tools/<version>/apksigner' verify --print-certs --verbose SBW-2.5.5.apk
$ '<Android SDK dir>/build-tools/<version>/apksigner' verify --print-certs --verbose SBW-2.5.6.apk
```

Output should contain the following info:
Expand Down
8 changes: 4 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ task wrapper(type: Wrapper) {
}

android {
compileSdkVersion 30
compileSdkVersion 33
buildToolsVersion '34.0.0'

defaultConfig {
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
applicationId 'com.btcontract.wallet'
targetSdkVersion 30
targetSdkVersion 33
minSdkVersion 21

versionName '2.5.5'
versionCode 106
versionName '2.5.6'
versionCode 107
}

buildTypes {
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/com/btcontract/wallet/HubActivity.scala
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import androidx.appcompat.app.AlertDialog
import androidx.recyclerview.widget.RecyclerView
import com.btcontract.wallet.BaseActivity.StringOps
import com.btcontract.wallet.Colors._
import com.btcontract.wallet.HubActivity.{addressSpec, _}
import com.btcontract.wallet.HubActivity._
import com.btcontract.wallet.R.string._
import com.btcontract.wallet.utils._
import com.chauthai.swipereveallayout.{SwipeRevealLayout, ViewBinderHelper}
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/com/btcontract/wallet/WalletApp.scala
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ object WalletApp {
}

def makeAlive: Unit = {
ElectrumWallet.chainHash = Block.TestnetGenesisBlock.hash
ElectrumWallet.chainHash = Block.LivenetGenesisBlock.hash
val miscInterface = new DBInterfaceSQLiteAndroidMisc(app, "misc.db")

miscInterface txWrap {
Expand Down
1 change: 1 addition & 0 deletions fastlane/metadata/android/en-US/changelogs/107.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Minor bugfixes and improvements.

0 comments on commit c26d4ea

Please sign in to comment.