mirror of
https://github.com/bitwarden/android.git
synced 2026-04-10 16:46:01 -05:00
Add full CRUD support for managing collections on Android, accessible via Settings > Vault > Collections. Collections are organization-scoped vault items available on paid plans. Changes include: - Network layer: CollectionsApi, CollectionService, request/response models - Data layer: CollectionManager with encrypt > API > disk > decrypt flow - Permission model: expanded SyncResponseJson.Permissions and Organization with collection-specific permission fields - UI: CollectionsScreen (list with org subtitles, permission-gated FAB), CollectionAddEditScreen (name field, save, delete with confirmation) - Navigation: type-safe routes wired through VaultSettings entry point - VaultDiskSource.deleteCollection and VaultSdkSource.encryptCollection stub Note: encryptCollection is stubbed pending SDK release (SDK changes are implemented but not yet published). Create/update will fail at runtime until the SDK is updated.
Data module
An Android library containing common UI components, types, and utilities.
Contents
Compatibility
- Minimum SDK: 28 (Android 9)
- Target SDK: 36 (Android 16)
Theme
Icons & Illustrations
Naming Convention
All drawables should be named with the appropriate prefix to identify what they are and how they are intended to be used.
| Prefix | Description |
|---|---|
gif_ |
gifs |
ic_ |
Icons |
img_ |
Raster Images |
ill_ |
Illustrations |
logo_ |
Brand Imagery |
Multi-tonal Illustrations
The app supports light mode, dark mode and dynamic colors. Most icons in the app will display correctly using tinting but multi-tonal icons and illustrations require extra processing in order to be displayed properly with dynamic colors.
All illustrations and multi-tonal icons require the svg paths to be tagged with the name attribute in order for each individual path to be tinted the appropriate color. Any untagged path will not be tinted and the resulting image will be incorrect.
The supported tags are as follows:
- outline
- primary
- secondary
- tertiary
- accent
- logo
- navigation
- navigationActiveAccent