Go to file
Carter Jernigan f738666cd2
[#42] Add app deployment process
This enables deployment to Google Play internal testing.

Note these changes cannot be fully tested until the signing and API keys are in place.  Non-deployed builds are continuing to work as expected (e.g. `./gradlew assemble`)
2021-12-02 15:18:17 -05:00
.github [#53] Add issue template for updating dependencies 2021-10-25 13:57:04 -04:00
.idea [#28] Initial SDK integration 2021-11-12 07:09:43 -05:00
app [#42] Add app deployment process 2021-12-02 15:18:17 -05:00
build-conventions [#99] Ktlint 0.43.1 2021-12-01 15:24:34 -05:00
build-info-lib [#31] Add injection of build info 2021-10-19 13:51:06 -04:00
buildSrc [#89] Resolve Gradle build warnings 2021-11-30 14:16:22 -05:00
docs [#42] Add app deployment process 2021-12-02 15:18:17 -05:00
gradle/wrapper [#77] Gradle 7.3 2021-11-10 11:16:09 -05:00
preference-api-lib [#28] Initial SDK integration 2021-11-12 07:09:43 -05:00
preference-impl-android-lib [#16] Skeleton for wallet creation 2021-11-17 15:19:49 -05:00
sdk-ext-lib [#16] Skeleton for wallet creation 2021-11-17 15:19:49 -05:00
test-lib
tools [#98] Detekt 1.19.0 2021-12-02 15:16:34 -05:00
ui-lib [#20] Add launcher icon 2021-12-02 15:16:20 -05:00
.gitignore [#50] Preliminary design guide 2021-10-31 13:36:51 -04:00
LICENSE
README.md [#99] Ktlint 0.43.1 2021-12-01 15:24:34 -05:00
build.gradle.kts [#50] Preliminary design guide 2021-10-31 13:36:51 -04:00
buildscript-gradle.lockfile [#98] Detekt 1.19.0 2021-12-02 15:16:34 -05:00
gradle.properties [#42] Add app deployment process 2021-12-02 15:18:17 -05:00
gradlew
gradlew.bat
settings.gradle.kts [#42] Add app deployment process 2021-12-02 15:18:17 -05:00

README.md

secant-android-wallet

Note: As of September 2021, this is a brand new project. Since it is being developed in the open from the beginning, initially this project will not be fully functional. Some of the documentation below will be aspirational until the implementation is further along. During this initial stage of development, the older Zcash Android Wallet may be a more helpful sample.

This is a sample implementation of a Zcash wallet for Android leveraging the Zcash Android SDK. The goal is to exercise the SDK and related Zcash libraries, as well as demonstrate how the SDK works.

While we aim to continue improving this sample, it is not an official product. We open sourced it as a resource to make wallet development easier for the Zcash ecosystem.

Getting Started

If you'd like to compile this application from source, please see our Setup Documentation to get started.

Reporting an issue

If you wish to report a security issue, please follow our Responsible Disclosure guidelines. See the Wallet App Threat Model for more information about the security and privacy limitations of the wallet.

If you'd like to report a technical issue or feature request for the Android Wallet, please file a GitHub issue.

General Zcash questions and/or support requests and are best directed to either:

Contributing

Contributions are very much welcomed! Please read our Contributing Guidelines to learn about our process.

Forking

If you plan to fork the project to create a new app of your own, please make the following changes. (If you're making a GitHub fork to contribute back to the project, these steps are not necessary.)

  1. Change the app name under app/
  2. Remove any copyrighted ZCash or Electric Coin Company icons, logos, or assets
  3. Change the package name
    1. Under app/build.gradle.kts, change the package name of the application
    2. Under app/proguard-project.txt, change the -repackageclasses directive to your own package name

Known Issues

  1. During builds, a warning will be printed that says "Unable to detect AGP versions for included builds. All projects in the build should use the same AGP version." This can be safely ignored. The version under build-conventions is the same as the version used elsewhere in the application.
  2. When the code coverage Gradle property IS_COVERAGE_ENABLED is enabled, the debug app APK cannot be run. The coverage flag should therefore only be set when running automated tests.
  3. Test coverage for Compose code will be low, due to known limitations in the interaction between Compose and Jacoco.
  4. Adding the espresso-contrib dependency will cause builds to fail, due to conflicting classes. This is a known issue with the Zcash Android SDK.
  5. Android Studio will warn about the Gradle checksum. This is a known issue and can be safely ignored.
  6. During app first launch, the following exception starting with AndroidKeysetManager: keyset not found, will generate a new one is printed twice. This exception is not an error, and the code is not being invoked twice.
  7. The task ktlintFormat fails on Java 16 or greater. As a workaround, the task is run under Java 11. This requires that JDK 11 be installed, even if a newer JDK is also installed. While this is configured to use the Java toolchain API, toolchain support for Java 11 does not work on Apple Silicon. Azul Zulu does offer JDK 11, which must be installed manually to run this task from the command line on Apple Silicon.