1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-25 12:05:59 +01:00
The mobile app vault (iOS and Android).
Go to file
Álison Fernandes 99472d2548
[EC-655] Adds build variants to the mobile codebase using a CAKE script (#2161)
* Implemented CAKE build script

* cake script now deals with all of iOS's .plists

* cake now updates iOS bundleid's / Android packagename in codefiles

* iOS Bundle ID / Name should be correctly handled now + refactor

* tabs -> spaces

* Additional code files are now handled by cake

* Additional iOS codefile changes required

* Android's Autofill Label is now changed

* Removed dash from packagenames / bundleIDs

* Fixed CFBundleURLName set

* Added google-services.json to cake preprocessing

* Add CAKE to build workflow
- Android

* Add debug

* Updated cake's GitVersion.Tool

* AndroidManifest manual parsing needs to happen first

* Added Android Constants to build.cake

* [SG-747] Add Android QA build to mobile build pipeline (#2144)

* Add checkout depth

* Build and upload QA artifacts

* Remove missing .aab

* Update build.yml

* Update paths

* Update var names

* Build and upload QA artifacts

* Add in matrix to path.

* Lets not fail all the jobs if something pukes

* Add in some flow logic for QA

* We need strings in pwsh

* Remove extra quotes

* Testing, remove uneeded runs

* Test folder items

* [SG-747] Added more debug info to find problem

* [SG-747] copy signed apk to correct file name for each app variant

* [SG-747] try to fix if statement

* [SG-747] separate decrypt google services into another step with condition.

* [SG-747] fixed typo and line break

* [SG-747] added debug to check output path

* [SG-747] fix package name

* [SG-747] Fixed condition of step execution

* [SG-747] test if cases

* [SG-747] Code clean up

* [SG-747] Added FDroid and iOS steps.

* [SG-747] Removed test step

* [SG-747] Step name changes

* Update condition to be more inclusive

Co-authored-by: Álison Fernandes <vvolkgang@users.noreply.github.com>

* [SG-747] Expand if condition to allow more build types other than QA

* [SG-747] removed execution condition

Co-authored-by: mimartin12 <77340197+mimartin12@users.noreply.github.com>

* Apply suggestions from code review

Linter suggestions

Co-authored-by: mimartin12 <77340197+mimartin12@users.noreply.github.com>
Co-authored-by: Micaiah Martin <mmartin@bitwarden.com>
Co-authored-by: mimartin12 <77340197+mimartin12@users.noreply.github.com>
Co-authored-by: Álison Fernandes <vvolkgang@users.noreply.github.com>
Co-authored-by: Todd Martin <106564991+trmartin4@users.noreply.github.com>

* Base bundle ID refactor and cleaned up TODOs

- Added base vars for the bundle IDs
- Removed a TODO and explained the remaining ones
- Commented a unused var, keeping it in the code as this might be useful later

Co-authored-by: Micaiah Martin <mmartin@bitwarden.com>
Co-authored-by: Federico Andrés Maccaroni <fedemkr@gmail.com>
Co-authored-by: Todd Martin <tmartin@bitwarden.com>
Co-authored-by: André Bispo <abispo@bitwarden.com>
Co-authored-by: mimartin12 <77340197+mimartin12@users.noreply.github.com>
Co-authored-by: Todd Martin <106564991+trmartin4@users.noreply.github.com>
2022-11-01 22:14:49 +00:00
.config [EC-655] Adds build variants to the mobile codebase using a CAKE script (#2161) 2022-11-01 22:14:49 +00:00
.github [EC-655] Adds build variants to the mobile codebase using a CAKE script (#2161) 2022-11-01 22:14:49 +00:00
src SG-786 - Fix 400 error code log outs without invalid_grant (#2156) 2022-10-31 13:40:26 -04:00
store Autosync the updated translations (#2155) 2022-10-28 02:40:47 +02:00
test Updated libs to latest stable (#2092) 2022-09-22 11:17:17 -04:00
.editorconfig Add dotnet-format tool (#1737) 2022-04-26 17:21:07 +02:00
.git-blame-ignore-revs [TI-8] Add .git-blame-ignore-revs (#1891) 2022-04-26 11:27:13 -04:00
.gitattributes Update .gitattributes to fix build issue (#1892) 2022-04-26 16:51:58 -04:00
.gitignore [EC-655] Adds build variants to the mobile codebase using a CAKE script (#2161) 2022-11-01 22:14:49 +00:00
bitwarden-mobile.sln Add Share app Extension on iOS for Send (re-PR) (#1660) 2022-01-25 17:41:56 -03:00
build.cake [EC-655] Adds build variants to the mobile codebase using a CAKE script (#2161) 2022-11-01 22:14:49 +00:00
CNAME cname dist 2019-06-10 14:38:33 -04:00
CONTRIBUTING.md Update README and CONTRIBUTING to use contributing.bitwarden.com (#1932) 2022-06-14 09:55:15 +02:00
crowdin.yml fixing a typo (#1634) 2021-11-05 11:38:51 -07:00
LICENSE.txt license 2016-10-10 18:38:47 -04:00
package-lock.json Updating gh-pages (#1628) 2021-11-04 09:29:07 -07:00
package.json Updating gh-pages (#1628) 2021-11-04 09:29:07 -07:00
README.md replace link to mobile section of contributing documentation with working link (#1978) 2022-07-06 11:43:07 -03:00
SECURITY.md Update SECURITY.md (#1847) 2022-03-15 15:54:45 -04:00

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

Bitwarden Mobile Application

Get it on Google Play Get it on Google Play

The Bitwarden mobile application is written in C# with Xamarin Android, Xamarin iOS, and Xamarin Forms.

Build/Run

Please refer to the Mobile section of the Contributing Documentation for build instructions, recommended tooling, code style tips, and lots of other great information to get you started.

We're Hiring!

Interested in contributing in a big way? Consider joining our team! We're hiring for many positions. Please take a look at our Careers page to see what opportunities are currently open as well as what it's like to work at Bitwarden.

Contribute

Code contributions are welcome! Please commit any pull requests against the master 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.

Dotnet-format

We recently migrated to using dotnet-format as code formatter. All previous branches will need to updated to avoid large merge conflicts using the following steps:

  1. Check out your local Branch
  2. Run git merge e0efcfbe45b2a27c73e9593bfd7a71fad2aa7a35
  3. Resolve any merge conflicts, commit.
  4. Run dotnet tool run dotnet-format
  5. Commit
  6. Run git merge -Xours 04539af2a66668b6e85476d5cf318c9150ec4357
  7. Push