* [EC-426] Add watchOS PoC app (#2054)
* EC-426 Added watchOS app, configured iOS.csproj to bundle the output of XCode build into the Xamarin iOS app and added some custom logic to use WCSession to communicate between the iOS and the watchOS apps
* EC-426 Removed Info.plist from iOS.Core project given that it's not needed
* [EC-426] Added new encrypted watch app profiles
* EC-426 added configuration for building watchApp and bundle it up on the iOS one
* EC-426 Fix build for watchOS
* EC-426 Fix build for watchOS applied shell bash
* EC-426 Fix build for watchOS echo
* EC-426 Fix build for watchOS simplify
* EC-426 Fix build for watchOS added workspace path
* EC-426 Changed code sign identity of watchOS project to Apple Distribution
* EC-426 added manual code sign style and specified the provisioning profile for the targets on the watch xcode project
* EC-426 updated path to watchOS on release on iOS.csproj and disabled android and f-.droid
* EC-426 fix build
* EC-426 fix path and check listing of directory of watchOS output just in case
* EC-426 Fix Apple Watch build to list the folder recursively just in case we need to change the path for the watch bundle
* EC-426 TEMP Change texts on input on login and lock to show that the app is for the Watch PoC testing
* EC-426 Fix WatchApp build path
* EC-426 Added WatchOS AppIcons
* EC-426 added gitignore for XCode project removed files supposed to be ignored
* EC-426 Cleaned the code a bit to avoid misbehavior
* EC-426 Code cleanup
Co-authored-by: Joseph Flinn <joseph.s.flinn@gmail.com>
* [EC-585] Added data, encryption and some helpers and structure to the Watch app (#2164)
* [EC-585] Added foundation classes on the watch to handle CoreData and some fixes on the communication of the ciphers, also some helper classes to store in keychain and encrypt data
* EC-585 Added keychain helper, encryption helpers and added data storage using CoreData configuring it appropiately. View and ViewModel are here only to test that the fetching/saving works but it's not the actual UI of the watch app. Also removed all the places where the automatic file signature was added by XCode
* EC-585 Fixed CipherServiceMock to implement protocol
* EC-585 Fixed DeviceActionService duplicated services
* [EC-614] Apple Watch MVP Cipher list UI (#2175)
* [EC-585] Added foundation classes on the watch to handle CoreData and some fixes on the communication of the ciphers, also some helper classes to store in keychain and encrypt data
* EC-585 Added keychain helper, encryption helpers and added data storage using CoreData configuring it appropiately. View and ViewModel are here only to test that the fetching/saving works but it's not the actual UI of the watch app. Also removed all the places where the automatic file signature was added by XCode
* EC-585 Fixed CipherServiceMock to implement protocol
* EC-585 Fixed DeviceActionService duplicated services
* EC-614 Implemented watch ciphers list UI
* [EC-615] Apple Watch MVP Cipher details UI (#2192)
* [EC-585] Added foundation classes on the watch to handle CoreData and some fixes on the communication of the ciphers, also some helper classes to store in keychain and encrypt data
* EC-585 Added keychain helper, encryption helpers and added data storage using CoreData configuring it appropiately. View and ViewModel are here only to test that the fetching/saving works but it's not the actual UI of the watch app. Also removed all the places where the automatic file signature was added by XCode
* EC-585 Fixed CipherServiceMock to implement protocol
* EC-585 Fixed DeviceActionService duplicated services
* EC-614 Implemented watch ciphers list UI
* EC-615 Added cipher details UI to watch and also implemented logic and helpers to generate the TOTPs
* EC-615 Added value transformer to login uris on the cipher entity
* EC-617 Added state view on watch app and some state helpers and wired it on the CipherListView. Also added some images (#2195)
* [EC-581] Implement Apple Watch MVP Sync (#2206)
* EC-581 Implemented sync iPhone -> watchOS, fix some issues with the watch database and sync flows for login/locks/multiple accounts
* EC-581 Added watch sync on unlocking and need setup state when no user is synced and the session is not active
* EC-581 Removed unused method
* EC-581 Fix format
* EC-759 Added avatar row on cipher list header to display avatar icon and email (#2213)
* [EC-786] Apple Watch MVP Sync fixes (#2214)
* EC-786 Commented things that are not going to be included on the MVP and fixed issue on the dictionary sent on the applicationContext to have a changing key based on time
* EC-786 Commented need unlock state
* EC-579 Added logic for Connect To Watch on iOS settings and moved it to the correct place. Also improved the synchronization and watch session activation logic (#2218)
* EC-616 Added search header for ciphers and polished the code (#2226)
Co-authored-by: Federico Maccaroni <fedemkr@gmail.com>
Co-authored-by: Joseph Flinn <joseph.s.flinn@gmail.com>
* 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>
* Add autobump version number workflow
* Comment pr since not tested
* Update .github/workflows/version-auto-bump.yml
Co-authored-by: Micaiah Martin <77340197+mimartin12@users.noreply.github.com>
* Trigger version bump workflow
* Comment for testing
* add input for testing
* FIx
* Remove testing values
Co-authored-by: Micaiah Martin <77340197+mimartin12@users.noreply.github.com>
* Updating the release version check to use the new action
* Update .github/workflows/release.yml
Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
* PS-518 - Add setting to block AppCenter / Analytics - Mobile
- Added another entry into Settings page under the Others section
- Added prompt to ask user to enable / disable Crash Reports
- Added compilation tags to remove if the build is FDroid
* PS-518 Add setting to block AppCenter / Analytics - Mobile
- Reduced FDroid compilation tags throughout the code
- Added Init, Enable and State methods to Logger
- Simplified SettingsPageViewModel Enable/Disable code
* PS-518 Add setting to block AppCenter / Analytics - Mobile
- Appcenter references were removed from App project,
- Removed FDroid build.yml code that was deleting Appcenter packages from App.csproj
Co-authored-by: André Bispo <abispo@bitwarden.com>
* Switching the iOS build artifact and release asset names
* disabling jobs/steps to test the new release asset name
* switching to download artifacts from rc
* testing the upload of the 'Bitwarden iOS' directory
* Build zip asset of the Bitwarden iOS asset
* trying a couple of different zip paths
* Final package test
* Re-enabling all of the jobs after testing
* Added dsym artifact to be uploaded alongside with the ipa o the build.yml
* Added dsym artifact to be uploaded alongside with the ipa o the build.yml
* Fixed build.yml dsym artifact
* Fix upload dsym build.yml
* Fix build.yml to check what gets exported and after this will become the adjustment for the dsym (disabling Android build for this test)
* Fix build.yml to copy all dsyms and artifact them (disabling Android build for this test)
* Fix build.yml to only copy all dsyms and ipa and artifact them (disabling Android build for this test)
* Added Appcenterr CLI and upload missing symbols for dSYM to the build
* Add secret to build workflow (#1771)
* Changed build.yml upload dsym command from upload-missing-symbols to upload-symbols
* Added restrictions for uploading iOS symbols to AppCenter on build.yml
Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>