Commit Graph

371 Commits

Author SHA1 Message Date
dependabot[bot] 2c14ee8bd3 Bump google-github-actions/auth from 0.8.2 to 0.8.3
Bumps [google-github-actions/auth](https://github.com/google-github-actions/auth) from 0.8.2 to 0.8.3.
- [Release notes](https://github.com/google-github-actions/auth/releases)
- [Changelog](https://github.com/google-github-actions/auth/blob/main/CHANGELOG.md)
- [Commits](2671692c37...c4799db911)

---
updated-dependencies:
- dependency-name: google-github-actions/auth
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-18 07:52:18 -04:00
dependabot[bot] 53644001c4 Bump actions/cache from 3.0.10 to 3.0.11 in /.github/actions/setup
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.10 to 3.0.11.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](56461b9eb0...9b0c1fce7a)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-15 08:28:34 -04:00
Honza Rychnovsky bffa5870b6
[#525] Refactoring Integration Test Module
* [#525] Refactoring Integration Test Module

- Change module type to test + related Gradle scripts change
- Rename module to - remove the trailing Lib suffix + documentation
- Move module structure from test to main source

* Static checks result fix

* Temporary enable FTL test

* Test updated emulator.wft version

* Update locked emulator.wtf dependency version

* Enable emulator.wft tests for ui-integration-test module on CI

* Fix enable emulator.wft tests for ui-integration-test module on CI

- Update documentation

* Test Fladle configuration for ui-integration-test module

* Fix Fladle for ui-integration-test module

* Rename ui-integration-test module flade configuration

* Disable again FTL action from PRs

* Clear support for FTL from ui-integration-test module

* Refactor the emulator.wtf support across our modules.

* Fix Mermaid graph syntax

* Minor change in comment

* Fix ui-integration-test module run configuration

- Fixed manually
- Aligned with other run configurations
- Stable and beta versions of AS behave differentially, but after this fix it seems to be working as expected in both

* Update emulator.wtf run configuration

- Covered ui-integration-test module too
- Changed configuration name
2022-10-14 14:17:15 +02:00
Alex 3d1d8fd363
fixed onboarding top bar (#616)
* fixed onboarding top bar

* fixed onboarding top bar

* fixed onboarding top bar

* fixed onboarding top bar

* fixed onboarding top bar

* Fix tests

Co-authored-by: Carter Jernigan <git@carterjernigan.com>
2022-10-14 11:02:44 +02:00
Alex 83b79afe4c
disabled screen timeout when displaying QR code (#617)
* disabled screen timeout when displaying QR code

* added tests

* fixed ktlint errors

* Remove unnecessary test scope

Co-authored-by: Carter Jernigan <git@carterjernigan.com>
2022-10-13 15:13:41 +02:00
dependabot[bot] ed408a6be3 Bump google-github-actions/auth from 0.8.1 to 0.8.2
Bumps [google-github-actions/auth](https://github.com/google-github-actions/auth) from 0.8.1 to 0.8.2.
- [Release notes](https://github.com/google-github-actions/auth/releases)
- [Changelog](https://github.com/google-github-actions/auth/blob/main/CHANGELOG.md)
- [Commits](dac4e13deb...2671692c37)

---
updated-dependencies:
- dependency-name: google-github-actions/auth
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-13 07:34:12 -04:00
Alex 33cee61601
[#593] - added illustrations for onboarding (#601)
* [#593] - added illustrations for onboarding

* fixed ScreenshotTest

* replaced welcome illustration

* fixed OnboardingViewTest

* Smart quotes

* added curly braces to if statement

* added skip button to welcome screen

* fixed onboarding test

* Delete unnecessary button click

Co-authored-by: Carter Jernigan <git@carterjernigan.com>
2022-10-11 11:41:05 +02:00
Alex 3475ea545e
573 include free disk space in the contact support information (#607)
* [#174]added warning screen + StorageChecker.kt

* [#174]added warning screen + StorageChecker.kt

* added manual test

* added manual test

* [#573] Include free disk space in the Contact Support information

* resolved merge conflicts

* code review fixes

* [#573] Include free disk space in the Contact Support information

* added vector drawable

* fixed merge issues

* fixed support info test

* code review fixes

* SupportInfoTest fix

* Remove trailing comma

Co-authored-by: Carter Jernigan <git@carterjernigan.com>
2022-10-06 11:40:18 +02:00
dependabot[bot] 42f3348a9e Bump actions/checkout from 3.0.2 to 3.1.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.0.2 to 3.1.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](2541b1294d...93ea575cb5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-05 09:23:39 -04:00
Honza Rychnovsky a30e18a555
[#591] Fix getSurfaces() crash of CameraX on FTL Robo test
* [#591] Fix getSurfaces() crash on FTL Robo

- Updated version of the CameraX dependency and filed issue to Google

* Add logging bind camera failure to console
2022-10-04 16:41:07 +02:00
dependabot[bot] bcdcf343c7 Bump actions/setup-java from 3.5.0 to 3.5.1 in /.github/actions/setup
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.5.0 to 3.5.1.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](d854b6da19...a18c333f3f)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 08:31:33 -04:00
dependabot[bot] 731ab47ab2 Bump actions/cache from 3.0.9 to 3.0.10 in /.github/actions/setup
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.9 to 3.0.10.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](ac8075791e...56461b9eb0)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 08:30:55 -04:00
Alex 386b400e22
[#174]added warning screen + StorageChecker.kt (#594)
* [#174]added warning screen + StorageChecker.kt

* [#174]added warning screen + StorageChecker.kt

* added manual test

* added manual test

* resolved merge conflicts

* code review fixes

* added vector drawable

* Add units

Co-authored-by: Carter Jernigan <git@carterjernigan.com>
2022-10-03 15:59:09 +02:00
dependabot[bot] 8b3befadb2 Bump actions/cache from 3.0.8 to 3.0.9 in /.github/actions/setup
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.8 to 3.0.9.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](fd5de65bc8...ac8075791e)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-03 09:56:19 -04:00
Alex 8c7176aa22
[#167] Increase brightness when displaying QR Code (#596)
* [#167] Increase brightness when displaying QR Code

* Use collectWith(lifecycleScope)

* Fix copy-paste errors

* manual test

Co-authored-by: Carter Jernigan <git@carterjernigan.com>
2022-09-29 15:13:54 +02:00
Alex 54f23f9ec3
[#577] ktlint version update (4.7.1) (#588) 2022-09-26 13:58:43 +02:00
Alex a96637ec07
[#551] Prevent screenshots when seed phrase is displayed on the screen (#590)
* [#551] Prevent screenshots when seed phrase is displayed on the screen

* Minor review changes

Make ScreenSecurity object simpler by eliminating additional ways of mutating its state.

* Add debug and test checks

* secured screens with seed phrase

* codereview fixes

* added test for Seed screen

* added Screen security test for backup views

* test for ScreenSecurity class

* added manual testing for Screen security

* ktlint format

* Clean up ScreenSecurityTest

* Remove debug check

I decided this would be annoying, especially for manual testing

* ktlint

* removed test logging

* removed test logging

Co-authored-by: Carter Jernigan <git@carterjernigan.com>
2022-09-26 10:28:08 +02:00
Carter Jernigan 45d90b7706 [#586] AGP 7.3 2022-09-22 16:06:09 -04:00
Honza Rychnovsky 1b75ab4fd6
[#552] Compose dependencies update (#589)
* [#552] Compose 1.2.1
* [#553] Accompanist 0.25.0
* Material3 dependency update
* Compose Compiler dependency update
* Compose Navigation dependency update
* Fix camera permission multiple displaying
* Added missing TODO description comments
* Improved Scan screen manual test guide
* Bump dependencies again
Co-authored-by: Carter Jernigan <git@carterjernigan.com>
2022-09-22 15:55:34 +02:00
Carter Jernigan 569e518615 Update Android Studio guidance 2022-09-19 12:31:38 -04:00
dependabot[bot] ac82a13d2e Bump actions/setup-java from 3.4.1 to 3.5.0 in /.github/actions/setup
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.4.1 to 3.5.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](2c7a4878f5...d854b6da19)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 08:36:46 -04:00
Carter Jernigan b5c09832df [#578] Use API 33 devices on Firebase Test Lab 2022-09-01 06:38:29 -04:00
dependabot[bot] 73c86ef249 Bump google-github-actions/auth from 0.8.0 to 0.8.1
Bumps [google-github-actions/auth](https://github.com/google-github-actions/auth) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/google-github-actions/auth/releases)
- [Changelog](https://github.com/google-github-actions/auth/blob/main/CHANGELOG.md)
- [Commits](ceee102ec2...dac4e13deb)

---
updated-dependencies:
- dependency-name: google-github-actions/auth
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-01 06:37:59 -04:00
dependabot[bot] d1cc938556 Bump actions/cache from 3.0.7 to 3.0.8 in /.github/actions/setup
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.7 to 3.0.8.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](a7c34adf76...fd5de65bc8)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-01 06:37:25 -04:00
Carter Jernigan de8fbde0ab [#480] Target API 33 2022-08-29 10:54:06 -04:00
Carter Jernigan cee446827b [#575] Zcash SDK 1.9.0-beta02 2022-08-16 07:18:54 -04:00
Carter Jernigan eff7757c1c [#570] Desugar 1.1.6 2022-08-16 07:18:54 -04:00
Carter Jernigan 7cdd577381 [#571] AppCompat 1.5.0 2022-08-16 07:18:54 -04:00
Carter Jernigan 03df4f669e [#555] Androidx Splashscreen 1.0.0 2022-08-16 07:18:54 -04:00
Carter Jernigan ab28d8f779 [#554] bip-39 1.0.4 2022-08-16 07:18:54 -04:00
Carter Jernigan 6c79dc34a3 [#515] Run ktlint under more recent JVMs 2022-08-15 08:51:49 -04:00
dependabot[bot] 6a3549e125 Bump actions/cache from 3.0.6 to 3.0.7 in /.github/actions/setup
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.6 to 3.0.7.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](f4278025ab...a7c34adf76)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-15 08:51:30 -04:00
Carter Jernigan 334dc3c41f [#185] Refactor navigation
This moves navigation to its own file, simplifies the MainActivity, and moves Android integration composables to their own files.

Navigation still does not have tests, so a separate change will need to be implemented to add testing to navigation.
2022-08-10 06:44:26 -04:00
Carter Jernigan 1bd5e7518e [#560] Detect strict mode violations on CI 2022-08-09 17:06:04 -04:00
Carter Jernigan 173f5048f0 [#564] Gradle 7.5.1 2022-08-09 07:13:25 -04:00
dependabot[bot] 9cac4bfce4
Bump actions/cache from 3.0.5 to 3.0.6 in /.github/actions/setup (#563)
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.5 to 3.0.6.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](0865c47f36...f4278025ab)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-09 07:13:11 -04:00
Carter Jernigan b0833dc4cb
[#557] AGP 7.2.2 2022-08-05 08:12:16 -04:00
Carter Jernigan a48b18e1be
[#556] Adopt SDK 1.9 ZcashNetwork API 2022-08-04 11:56:50 -04:00
Carter Jernigan f9afd2e5f9
[#536] Adopt BlockHeight API (#537)
Note that this change modifies the on-disk representation of the wallet.  Anyone who has an earlier build install will see a runtime crash.  This is expected, as we are not supporting data migrations at this stage of development.  The solution is to uninstall/reinstall the app.
2022-07-26 10:46:23 -04:00
Carter Jernigan 072d73e99c
[#547] Configurable dependency locking
This implementation is somewhat special from our other Gradle properties, because it does not get declared in the root gradle.properties.  The reason is that included builds are supposed to have their own properties e.g.

root_project/gradle.properties
root_project/buildSrc/gradle.properties
root_project/build-conventions/gradle.properties

Instead of declaring the property in three different places which might lead to confusion, this leaves the property undeclared, with the Gradle scripts assuming a default value of true.  The only time this is expected to be overridden is due to a workaround for an Android Studio bug.
2022-07-22 13:00:04 -04:00
Carter Jernigan 72e50ec54a
[#549] Kotlin 1.7.10 2022-07-22 12:58:45 -04:00
Carter Jernigan 18a81eaef4
[#545] Detekt 1.21.0 2022-07-19 07:10:34 -04:00
Carter Jernigan 87dbf3b60a
[#543] Gradle 7.5 2022-07-18 10:44:58 -04:00
Carter Jernigan 7ca9761ba8 [#539] Coroutines 1.6.4 2022-07-15 07:09:21 -04:00
Carter Jernigan 323d5e1f99 [#381] Fix workflow dependency for malware scan 2022-07-14 17:04:09 -04:00
dependabot[bot] cd1a68d03f Bump actions/cache from 3.0.4 to 3.0.5 in /.github/actions/setup
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](c3f1317a9e...0865c47f36)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-14 08:31:55 -04:00
Carter Jernigan a305f5f4f1 [#381] Scan release builds for malware 2022-07-14 06:52:00 -04:00
Honza Rychnovsky 32c20953f7
[#310] [Scaffold] Progress Status Circular Bar
* [#310] [Scaffold] Progress Status Circular Bar

- Added Z to Home ZECs balance
- Added USD balance text to Home
- Prepared Text extension functions for both
- Provided Zatoshi to USD conversion methods + filed related SDK conversion issue

* Update Home screen UI with progress bars

- Implemented scaffolding UI of progress bars
- Added related texts to strings

* Update Home screen UI with progress bars

- Connected some of the implemented UI elements to SDK values
- Added app update information to Home screen
- Update WalletSnapshot with progress field

* Update Home screen UI with progress bars

- Capturing and handling errors from SDK Synchronizer.
- Added related error strings.
-  Simplified Home screen UI.

* Zboto font added. Load it in runtime. Import to Typography.

* Updated ZEC sign icon.

* Draw ZEC balance with Zboto font

* Simplify Home screen balances assigning

* Switch to PercentDecimal progress representatiton

* Support different locales while working with fiat currency

* Fix bug in checking of fiat currency value

* Generalize strings to provide possibility of other fiat currencies

* Add fiat currency conversion states mechanism

* Add TODO comment with reference to follow up SynchronizerError issue

* Add WalletDisplayValues to simplify HomeView composable

* Add CurrencyConversion class for connection to Price API (and convert Zatoshi to fiat currency)

* Add basic HomeView tests

* Add basic HomeViewIntegration test

* Review changes

- Used Duration API for times
 - Allow injecting clock into currency conversion
 - Moved FiatCurrencyConversionRateState to sdk-ext-ui because I suspect that we’ll consider this to be a UI object.  I based this on the fact that current/stale cutoff values are arbitrary and probably should be the domain of the UI rather than the SDK.
 - Added some tests, although additional coverage is needed
 - Added fixtures for model objects

* Minor code refactoring

- Move UpdateInfoFixture class to fixture dir
- Remove unnecessary annotation
- Add common application context method to test suite
- Fix Test class import
- Move several WalletSnapshotFixture parameters to const fields

* Add WalletDisplayValuesTest to cover the model class.

* Fix import after changes merged

* Use the new MonetarySeparatorsFixture in related tests

* Add a few basic Zatoshi -> USD conversion tests

* Turn on core lib desugaring for sdk-ext-ui-lib module

* Make WalletDisplayValues a data class

I think there may be some instances where this can help with recomposition

* Add preference key for fiat currency

This allows us to configure reading the value with observers correctly, even if we don’t allow the user to change it right now.

* Delegate symbol and formatting to JVM

* Add tests for Locale

Co-authored-by: Carter Jernigan <git@carterjernigan.com>
2022-07-13 09:16:05 +02:00
dependabot[bot] f31cf5b486 Bump actions/setup-java from 3.4.0 to 3.4.1 in /.github/actions/setup
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](16cca5479d...2c7a4878f5)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-12 06:07:20 -04:00
Carter Jernigan ba19fe6120 [#533] Update to SDK 1.7 2022-07-08 08:14:33 -04:00