1
0
Fork 0
mirror of https://github.com/bitwarden/android.git synced 2025-03-16 03:08:50 +03:00
Bitwarden mobile app for Android.
Find a file
2025-01-29 09:18:54 -06:00
.checkmarx Checkmarx configuration () 2024-05-31 12:31:40 -04:00
.github [deps]: Update gh minor () 2025-01-21 19:38:39 +00:00
.husky Initial commit 2024-03-26 12:09:32 -04:00
app Autosync Crowdin Translations () 2025-01-29 09:23:48 -05:00
docs Add README and code style guidelines () 2024-05-01 09:50:36 -04:00
fastlane [BWA-33]: Publish release bundles to Play Store when requested () 2024-12-13 13:36:54 -05:00
gradle [deps]: Update JUnit 5 () 2025-01-29 09:18:54 -06:00
keystores BITAU-66 Use fixed keystore for signing debug build () 2024-09-25 14:17:36 -05:00
.editorconfig Initial commit 2024-03-26 12:09:32 -04:00
.gitattributes Initial commit 2024-03-26 12:09:32 -04:00
.gitignore [deps]: Update kotlin to v2 (major) () 2024-06-14 15:09:01 -04:00
.ruby-version Declare ruby version globally () 2024-05-03 16:14:01 -04:00
build.gradle.kts [deps]: Update kotlin to v2 (major) () 2024-06-14 15:09:01 -04:00
CONTRIBUTING.md Initial commit 2024-03-26 12:09:32 -04:00
crowdin.yml [BWA-28] Sync translations with Crowdin () 2024-06-17 12:26:17 -04:00
detekt-config.yml [BWA-60] Configure detekt scanning () 2024-08-29 13:50:17 -04:00
Gemfile Declare ruby version globally () 2024-05-03 16:14:01 -04:00
Gemfile.lock [deps]: Lock file maintenance () 2025-01-21 14:36:35 -05:00
gradle.properties Splash, Item Listing, & View Item screens () 2024-03-28 09:27:33 -04:00
gradlew Splash, Item Listing, & View Item screens () 2024-03-28 09:27:33 -04:00
gradlew.bat Splash, Item Listing, & View Item screens () 2024-03-28 09:27:33 -04:00
LICENSE.txt Repo tuneup () 2024-06-03 10:17:36 -04:00
README.md Fix screenshot dimensions in readme () 2024-05-01 13:51:00 -04:00
SECURITY.md Initial commit 2024-03-26 12:09:32 -04:00
settings.gradle.kts Trigger checks during CI execution () 2024-04-02 22:35:00 -05:00

Github Workflow build on main Join the chat at https://gitter.im/bitwarden/Lobby

Bitwarden Authenticator Android App

Get it on Google Play

Bitwarden Authenticator allows you easily store and generate two-factor authentication codes on your device. The Bitwarden Authenticator Android application is written in Kotlin.

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/authenticator-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.

Contribute

Code contributions are welcome! Please commit any pull requests against the main branch. Learn more about how to contribute by reading the Contributing Guidelines. Check out the Contributing Documentation for how to get started with your first contribution.

Security audits and feedback are welcome. Please open an issue or email us privately if the report is sensitive in nature. You can read our security policy in the SECURITY.md file.