Bitwarden mobile app for Android.
Find a file
2024-06-20 17:08:07 +01:00
.github Update actions/setup-java action to v4.2.1 (#1151) 2024-06-20 17:08:07 +01:00
app Simplify private method by returning Result (#1171) 2024-06-20 17:08:07 +01:00
bitwarden_license Initial commit 2023-07-14 11:56:49 -05:00
docs Add newlines between annotated properties (#135) 2024-06-20 17:08:07 +01:00
gradle BIT-2046 Define FIDO2 credential network models (#1137) 2024-06-20 17:08:07 +01:00
keystores BIT-1430: Add migration from SecureStorage (#728) 2024-06-20 17:08:07 +01:00
scripts BIT-621: Add URI matching for autofill (#842) 2024-06-20 17:08:07 +01:00
.editorconfig Initial commit 2023-07-14 11:56:49 -05:00
.gitattributes Initial commit 2023-07-14 11:56:49 -05:00
.gitignore Enable build cache (#1149) 2024-06-20 17:08:07 +01:00
build.gradle.kts BIT-946: Add Google Services and Crashlytics to standard builds (#473) 2024-06-20 17:08:07 +01:00
CONTRIBUTING.md Initial commit 2023-07-14 11:56:49 -05:00
Dangerfile Add initial product flavors section (BIT-138) (#442) 2024-06-20 17:08:07 +01:00
detekt-config.yml Update detekt and fix minor warnings (#955) 2024-06-20 17:08:07 +01:00
Gemfile BIT-755: Add Kover and Danger for code coverage (#103) 2024-06-20 17:08:07 +01:00
Gemfile.lock Update gemfile to address security alert for nokogiri (#1154) 2024-06-20 17:08:07 +01:00
gradle.properties Enable build cache (#1149) 2024-06-20 17:08:07 +01:00
gradlew Initial project setup (BIT-61) (#7) 2024-06-20 17:08:07 +01:00
gradlew.bat Initial project setup (BIT-61) (#7) 2024-06-20 17:08:07 +01:00
LICENSE.txt Initial commit 2023-07-14 11:56:49 -05:00
LICENSE_BITWARDEN.txt Initial commit 2023-07-14 11:56:49 -05:00
LICENSE_GPL.txt Initial commit 2023-07-14 11:56:49 -05:00
README.md Remove unused accompanist dependency (#962) 2024-06-20 17:08:07 +01:00
SECURITY.md Initial commit 2023-07-14 11:56:49 -05:00
settings.gradle.kts Enable build cache (#1149) 2024-06-20 17:08:07 +01:00

Bitwarden Android

Contents

Compatibility

  • Minimum SDK: 28
  • Target SDK: 34
  • Device Types Supported: Phone and Tablet
  • Orientations Supported: Portrait and Landscape

Setup

  1. Clone the repository:

    $ git clone https://github.com/bitwarden/android
    
  2. Create a user.properties file in the root directory of the project and add the following properties:

  3. Setup the code style formatter:

    All code must follow the guidelines described in the Code Style Guidelines document. To aid in adhering to these rules, all contributors should apply docs/bitwarden-style.xml as their code style scheme. In IntelliJ / Android Studio:

    • Navigate to Preferences > Editor > Code Style.
    • Hit the Manage button next to Scheme.
    • Select Import.
    • Find the bitwarden-style.xml file in the project's docs/ directory.
    • Import "from" BitwardenStyle "to" BitwardenStyle.
    • Hit Apply and OK to save the changes and exit Preferences.

    Note that in some cases you may need to restart Android Studio for the changes to take effect.

    All code should be formatted before submitting a pull request. This can be done manually but it can also be helpful to create a macro with a custom keyboard binding to auto-format when saving. In Android Studio on OS X:

    • Select Edit > Macros > Start Macro Recording
    • Select Code > Optimize Imports
    • Select Code > Reformat Code
    • Select File > Save All
    • Select Edit > Macros > Stop Macro Recording

    This can then be mapped to a set of keys by navigating to Android Studio > Preferences and editing the macro under Keymap (ex : shift + command + s).

    Please avoid mixing formatting and logical changes in the same commit/PR. When possible, fix any large formatting issues in a separate PR before opening one to make logical changes to the same code. This helps others focus on the meaningful code changes when reviewing the code.

Dependencies

Application Dependencies

The following is a list of all third-party dependencies included as part of the application beyond the standard Android SDK.

Development Environment Dependencies

The following is a list of additional third-party dependencies used as part of the local development environment. This includes test-related artifacts as well as tools related to code quality and linting. These are not present in the final packaged application.

CI/CD Dependencies

The following is a list of additional third-party dependencies used as part of the CI/CD workflows. These are not present in the final packaged application.