diff --git a/docs/android/access-vault.mdx b/docs/android/access-vault.mdx index d2750776..8d343f48 100644 --- a/docs/android/access-vault.mdx +++ b/docs/android/access-vault.mdx @@ -54,14 +54,14 @@ All of the possibilities will result in the locked vault. :::note -The auto-lock timeout specified in the settings will lock the vault if Cryptomator is in background. Furthermore if not changed in settings, the vault gets locked if the screen turns off. +The auto-lock timeout specified in the settings locks the vault once it hasn't been used for the chosen time. Access by other apps through the [Files app](#access-vault-from-other-apps) also counts as use. Furthermore if not changed in settings, the vault gets locked if the screen turns off. For more information, see [Automatic Locking](settings.mdx#automatic-locking). ::: ## View and Edit File {/* #view-and-edit-file */} Start the view and edit process by clicking on a file. -Finish the editing or viewing using the back button of the device until you're back in Cryptomator. -If the content has changed, the upload process starts. +The file opens in the app of your choice, which saves its changes directly to the vault. +You don't have to return to Cryptomator: as soon as the app saves the file, the upload starts in the background. How to edit a file with Android @@ -195,6 +195,62 @@ Then the encryption and upload starts. How to share a file or folder with Android +## Access Vault from Other Apps {/* #access-vault-from-other-apps */} + +Your vaults show up in the Files app of Android and in the system file picker. +Other apps can open, save, create, rename, move, and delete files in a vault directly, without exporting or sharing them first. + +To open a vault in the Files app, open the navigation menu and select the entry *Cryptomator* that shows the name of your vault ①. +Every vault has its own entry. +The same entries appear whenever another app asks you to choose a file to open or a location to save to. + + + Vaults in the Files app of Android + + +If the vault is locked, the Files app asks you to sign in to Cryptomator. +Tapping `SIGN IN` ① starts the usual unlock process of Cryptomator with your password or fingerprint. + + + How to unlock a vault in the Files app of Android + How to unlock a vault in the Files app of Android + + +After unlocking, the Files app shows the content of the vault. + + + Unlocked vault in the Files app of Android + + +Cryptomator's own file browser and the Files app work on the same data, so both always show the same state. +To hide your vaults from the Files app, use the setting [Show Vaults in the Files App](settings.mdx#show-vaults-in-the-files-app). + +:::note +Changing files in a vault requires write access, the same as in the app itself. +Without the full version, you have read-only access: you can still open files from the Files app, but other apps can't save, create, rename, move, or delete them. +Vaults of a Hub with an active license stay fully writable. +For more information, see [Differences Between Variants and How to Choose](setup.mdx#differences-between-variants-and-how-to-choose). +::: + +### Uploads and Conflicts {/* #uploads-and-conflicts */} + +When an app saves a file, Cryptomator encrypts it and uploads it in the background. +If the file has been changed in the cloud in the meantime, for example on another device, Cryptomator doesn't overwrite it. +Instead, the save is uploaded as a conflict copy named like `name (ABCDE).ext` next to the original file. +The same applies if you create or upload a file with a name that already exists. + +If a vault gets locked while an app still has a file open, the changes are kept on the device and uploaded after the next unlock. + +### Failed Changes and Uploads {/* #failed-changes-and-uploads */} + +Creating, renaming, moving, and deleting show up in Cryptomator right away. +If the cloud rejects such a change, Cryptomator reverts it and shows the dialog *Change to … failed*. + +If an upload fails, Cryptomator doesn't retry it automatically: + +* In the Files app, the folder shows the message *An upload in this folder failed. Pull down to retry.* Pull down to retry the upload. +* In Cryptomator, the file shows the message *Upload failed. Tap to retry.* Tap the file to retry the upload. + ## Search in Folder {/* #search-in-folder */} Search for files or folders within the same folder using the magnifier ①. diff --git a/docs/android/settings.mdx b/docs/android/settings.mdx index d1a650eb..a89dabc9 100644 --- a/docs/android/settings.mdx +++ b/docs/android/settings.mdx @@ -61,7 +61,7 @@ Whenever another app obscures Cryptomator, it could intercept the input done to For security reasons, Cryptomator is disabled by default when obscured. The Android documentation contains [some more details](https://developer.android.com/reference/android/view/View.html#Security). -Starting from version 1.3.0, this protection can be disabled in the settings. We rather recommend to use the app without a blue light filter because this is more secure. +This protection can be disabled in the settings. We rather recommend to use the app without a blue light filter because this is more secure. If you want to disable protection, the blue light filter or any app obscuring Cryptomator has to be disabled one time. Afterwards, the settings can be opened and the option "Disable app when obscured" can be disabled. And then the relevant apps can be re-enabled again. @@ -82,10 +82,18 @@ Android provides the possibility to prevent the system and other apps from doing This feature is very important because it prevents other apps from reading data across the screen. This feature is enabled for all our views. -For some devices, e.g. a Chromebook with a second display or to create a screenshot and disable it again, we made this option since the 1.3.9 configurable. +For some devices, e.g. a Chromebook with a second display or to create a screenshot and disable it again, we made this option configurable. Read more: [FLAG*SECURE](https://developer.android.com/reference/android/view/Display.html#FLAG*SECURE) +### Show Vaults in the Files App {/* #show-vaults-in-the-files-app */} + +This setting lists your vaults in the Files app of Android and in the system file picker, so other apps can open and save files in your vaults. Locked vaults get unlocked when opened. This setting is enabled by default. + +If you disable it, your vaults are hidden from the Files app and all access other apps were given to files in your vaults is removed. + +For more information, see [Access Vault from Other Apps](access-vault.mdx#access-vault-from-other-apps). + ### Style {/* #style */} You can choose between the following three styles: @@ -133,7 +141,8 @@ If it is disabled, the beginning of the cloud node names must match the entered ## Automatic Locking {/* #automatic-locking */} -If a vault is unlocked and Cryptomator isn't active, the automatic locking timeout is counting down. +If a vault is unlocked, the automatic locking timeout counts down from the last time it was used. +Access by other apps through the Files app also counts as use, so a vault doesn't get locked while another app is working in it. After the timeout expires, all vaults get locked. You can choose between: @@ -145,6 +154,10 @@ You can choose between: `When screen is disabled` can be deactivated so that the vaults don't get locked when the screen locks. +If `Wait for transfers` is enabled (default), automatic locking waits until running uploads and downloads have finished. This applies to the timeout and to locking when the screen is disabled. If you unlock your phone while a screen lock is still waiting for transfers, the vaults stay unlocked. + +Locking a vault manually always happens immediately. + ## Automatic Photo Upload {/* #automatic-photo-upload */} If the `Automatic photo upload` is enabled, all photos taken will be marked for upload and after the specified vault gets unlocked again, the upload starts. @@ -158,29 +171,13 @@ Which pictures will be tracked, depends on the Android version on your phone: ## Cache {/* #cache */} -Introduced in version 1.5.0, if enabled, all downloaded files will be cached (encrypted) on the file system. Further downloads will only verify with the server, that the cached file is still the latest version. -If so it will not be downloaded again but directly retrieved from the file system. The cache is implemented using a least recently used mechanism, that means, the oldest entry will be overwritten if the max cache size is reached. - -### Cache Size Per Cloud {/* #cache-size-per-cloud */} - -Using this setting, you can specify the total max cache size per Cloud Service. +Cryptomator keeps the folder contents of your vaults and a copy of each opened file on the device. This way, folders and files that have been opened before show up right away, both in Cryptomator and in the Files app. The copies of opened files are stored decrypted in Cryptomator's private app storage. Other apps only get access to a file when you open it with them. Both are kept when a vault gets locked. Apps that still have a file open can keep working with it, and their changes are uploaded after the next unlock. Everything else can only be accessed after the vault has been unlocked again. -You can choose between the following options: - -* 50 MB -* 100 MB -* 250 MB -* 500 MB -* 1 GB -* 5 GB - -:::note -The more memory is given to caching, the greater the convenience factor. However, this memory can be used up to the maximum on the system and is then no longer available. -::: +The cache has no size or age limit. A cached copy is removed when its file is deleted, when the vault is removed from Cryptomator, or when you clear the cache. ### Clear Cache {/* #clear-cache */} -This setting will flush all cached files. +This setting removes all cached files. Files with changes that haven't been uploaded yet are kept. ## Support {/* #support */} @@ -189,15 +186,9 @@ After reproducing the problem, you can disable the `Debug mode` again and `Send ## Advanced Settings {/* #advanced-settings */} -### Workaround Opening Microsoft Files {/* #workaround-opening-microsoft-files */} - -With this setting enabled, files are opened in Microsoft applications with write permission. - -Due to a bug in Microsoft apps, the file to be edited must be shared with these apps in a public media folder on the device. After Cryptomator is resumed, the publicly accessible file is deleted again but Cryptomator cannot influence what has happened to this file in the meantime. Make sure that you are aware of this behavior when activating this option. This will only apply to Microsoft file types. - ### Keep Unlocked {/* #keep-unlocked */} -With this setting enabled, all vaults remain unlocked when a file is opened by a third-party application, which can be useful in combination with the "Workaround Opening Microsoft Files". +With this setting enabled, all vaults remain unlocked while a file is opened by a third-party application. ### Accelerate Unlock {/* #accelerate-unlock */} diff --git a/static/img/android/files-app-0-vaults.png b/static/img/android/files-app-0-vaults.png new file mode 100644 index 00000000..38795bdd Binary files /dev/null and b/static/img/android/files-app-0-vaults.png differ diff --git a/static/img/android/files-app-1-locked.png b/static/img/android/files-app-1-locked.png new file mode 100644 index 00000000..ae826240 Binary files /dev/null and b/static/img/android/files-app-1-locked.png differ diff --git a/static/img/android/files-app-2-unlock.png b/static/img/android/files-app-2-unlock.png new file mode 100644 index 00000000..3e6710c0 Binary files /dev/null and b/static/img/android/files-app-2-unlock.png differ diff --git a/static/img/android/files-app-3-unlocked.png b/static/img/android/files-app-3-unlocked.png new file mode 100644 index 00000000..63dcc379 Binary files /dev/null and b/static/img/android/files-app-3-unlocked.png differ