Skip to content

Commit 5a5c79d

Browse files
committed
Update background sync
1 parent 1f64505 commit 5a5c79d

File tree

1 file changed

+8
-20
lines changed

1 file changed

+8
-20
lines changed
Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
!!! warning
2-
Background sync is currently only available on Android with Monero wallets. Background sync will also sync regardless of network condition or charging status, with more options to control this coming in the next version.
1+
!!! note
2+
Background sync is currently only available on Android, and currently excludes Decred wallets.
33

44
Background sync will attempt to sync your wallets in the background at the specified interval. This can help keep your wallet up to date, and avoid the need for syncing lots of blocks when opening them. Background sync currently attemps to sync all Monero wallets. Background sync for Monero only uses the private view key, which avoides keeping the private spend key in memory.
55

6-
In `Connection and sync` settings, you can enable or disable background syncing for your Monero wallets. By default this is disabled, and if enabled will background sync all Monero wallets.
6+
In the `Connection and sync` settings, you can enable or disable background syncing for your Monero wallets. By default this is disabled, and if enabled will background sync all Monero wallets.
77

88
There are three background sync options:
99

@@ -13,24 +13,12 @@ There are three background sync options:
1313

1414
Enabling background sync will require enabling `Unrestricted background service` and allowing the app to always run in the background.
1515

16-
## Background sync on GrapheneOS
16+
Background sync has several additional settings which can be set to control network or device conditions.
1717

18-
GrapheneOS sets an Android config option that prevents Cake Wallet from being able to run its background sync service, however this flag can be set to false to remedy this issue. We are working to fix this on the Cake Wallet side, but in the meantime you can change this config option to allow background sync to run.
18+
## Notifications
1919

20-
!!! warning
21-
We will not provide support in regards to fixing background sync compatibility on GrapheneOS, and while the required command is 100% safe to use, we are not responsible for any loss of data or damage caused by modifying your phone over ADB. Please proceed at your own caution. Enabling ADB can open your device to some risk, so we highly recommend turning ADB off after running the command.
20+
You can enable transaction notifications by toggling the `Send notifications about new transactions setting`.
2221

23-
### Steps
22+
This will send a notification locally containing information about a new received transaction.
2423

25-
#### 1. Install the Android platform
26-
Install the Android platform tools on your applicable platform by following the instructions from [XDA](https://www.xda-developers.com/install-adb-windows-macos-linux/).
27-
28-
#### 2. Connect your phone
29-
Connect your phone to your computer and enable ADB either through USB or wireless debugging.
30-
31-
#### 3. Run the command
32-
In your terminal, run `adb shell device_config put activity_manager_native_boot use_freezer false && adb reboot`. This will set the config option, reboot your device, and once rebooted this will prevent Android from freezing the Cake Wallet background process.
33-
34-
### Reverting
35-
36-
Just run `adb shell device_config put activity_manager_native_boot use_freezer true && adb reboot` and this will set the config option back to the default for GrapheneOS.
24+
The notifications will only send during the background sync period, which will be as frequent as the `Background sync mode` setting.

0 commit comments

Comments
 (0)