Skip to content

bitwarden/android

Folders and files

NameName
Last commit message
Last commit date
Feb 26, 2025
Apr 15, 2025
Mar 26, 2024
Apr 25, 2025
Apr 25, 2025
Mar 31, 2025
Apr 23, 2025
Apr 16, 2025
Nov 6, 2024
Mar 31, 2025
Apr 23, 2025
Feb 26, 2025
Apr 25, 2025
Feb 4, 2025
Apr 8, 2025
Feb 28, 2025
Jul 14, 2023
Mar 19, 2025
Jun 20, 2024
Jul 14, 2023
Jun 26, 2024
Apr 15, 2025
Jun 20, 2024
Feb 26, 2025
Mar 27, 2025
Feb 26, 2025
Apr 25, 2025
Feb 18, 2025
Jun 27, 2024
Apr 4, 2025
Apr 17, 2025
Jun 20, 2024
Jun 20, 2024
Apr 8, 2025

Repository files navigation

Bitwarden Android

Contents

Compatibility

  • Minimum SDK: 29
  • Target SDK: 35
  • 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.

The following is an additional list of third-party dependencies that are only included in the non-F-Droid build variants of the application.

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.