Skip to content

Commit

Permalink
Release 0.1.2101
Browse files Browse the repository at this point in the history
  • Loading branch information
MrStahlfelge committed Jun 11, 2021
1 parent 2b7a9f3 commit 297614c
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 20 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Releases

on:
release:
types: [published]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Setup Android build environment
uses: android-actions/[email protected]
- name: Build Android debug apks
run: ./gradlew clean app:assembleDebug
- name: Release mainnet artifact
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: app/build/outputs/apk/ergomainnet/debug/app-ergomainnet-debug.apk
asset_name: ergowallet-mainnet-debug.apk
asset_content_type: application/zip
- name: Release testnet artifact
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: app/build/outputs/apk/ergotestnet/debug/app-ergotestnet-debug.apk
asset_name: ergowallet-testnet-debug.apk
asset_content_type: application/zip
34 changes: 19 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
# Ergo-Android
# Ergo Wallet Android

Example Android application which demonstrates how [Ergo
Appkit](https://github.com/aslesarenko/ergo-appkit) can be used to develop Ergo applications.
Ergo Wallet for Android, built on top of [Ergo Appkit](https://github.com/aslesarenko/ergo-appkit).

This is work in progress, and use at your own risk. See releases section for binaries (built on GitHub) and release notes.

Visit the [Ergo Discord](https://discord.gg/kj7s7nb) for more information.


# TODO
[ ] Biometric Auth Security https://stackoverflow.com/a/62445439/7487013
[ ] QR scan for sending
[ ] Show error reasons for sending transaction (no unspent boxes)
[ ] Prevent sending transaction when there are unconfirmed transactions (does not work)
[ ] CoinGecko Fiat value request
[ ] Edit/Delete/Export for Wallets
[ ] Generate new wallets
[ ] Prevent the same wallet being saved twice
[ ] Amount input filter https://stackoverflow.com/a/13716371/7487013
[ ] Gradle verify dependencies
[ ] API < 26: https://github.com/ergoplatform/ergo-appkit/issues/82
[ ] Change to appkit's secret storage https://github.com/ergoplatform/ergo-appkit/issues/84
- [ ] Biometric Auth Security https://stackoverflow.com/a/62445439/7487013
- [ ] QR scan for sending
- [ ] Show error reasons for sending transaction (no unspent boxes)
- [ ] Prevent sending transaction when there are unconfirmed transactions (does not work)
- [ ] CoinGecko Fiat value request
- [ ] Edit/Delete/Export for Wallets
- [ ] Generate new wallets
- [ ] Prevent the same wallet being saved twice
- [ ] Amount input filter https://stackoverflow.com/a/13716371/7487013
- [ ] Gradle verify dependencies
- [ ] API < 26: https://github.com/ergoplatform/ergo-appkit/issues/82
- [ ] Change to appkit's secret storage https://github.com/ergoplatform/ergo-appkit/issues/84
- [ ] Transactions list and details
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ android {
// could be 24, when https://github.com/ergoplatform/ergo-appkit/issues/82 is resolved
minSdkVersion 26
targetSdkVersion 30
versionCode 1
versionName "1.0"
versionCode 2101
versionName "0.1.2101"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ class SettingsFragment : Fragment() {
ViewModelProvider(this).get(SettingsViewModel::class.java)
_binding = FragmentSettingsBinding.inflate(inflater, container, false)

binding.labelVersion.text =
BuildConfig.VERSION_NAME + " (Build " + BuildConfig.VERSION_CODE + ")"
binding.labelVersion.text = BuildConfig.VERSION_NAME

return binding.root
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/fragment_send_funds.xml
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@
android:background="@color/lightgrey" />

<ProgressBar
android:layout_width="100dp"
android:layout_width="60dp"
android:layout_height="match_parent"
android:layout_gravity="center" />
</FrameLayout>
Expand Down

0 comments on commit 297614c

Please sign in to comment.