117 Commits

Author SHA1 Message Date
Szymon Lesisz
d8b175d26b refactor(suite-common): move device to standalone package 2026-02-18 20:17:20 +01:00
Tomas Boda
6d80f47903 chore: bump @reduxjs/toolkit 2026-02-16 16:11:39 +01:00
Daniel Skýpala
a61e614ffe chore: Bump react-native deps 2026-02-16 14:29:26 +01:00
Daniel Skýpala
dfac149085 chore: Bump sentry 2026-02-16 14:29:26 +01:00
yanas
dcdb9669fe feat(suite-native): allow usage of custom Electrum backend for BTC 2026-01-19 13:16:48 +01:00
Jiri Zbytovsky
d0daabe73b chore: bump Sentry deps 2026-01-09 13:42:56 +01:00
brantalikp
cde81b1c79 chore(suite-native): dependencies update 2026-01-09 12:50:23 +01:00
Vojtěch Tranta
9ea26932ea chore: rename MMKKey to general EncryptionKey 2026-01-07 09:48:00 +01:00
Vojtěch Tranta
ab9b030a41 fix: test of the storage migrations 2026-01-07 09:48:00 +01:00
Matej Kriz
57ce0fae97 chore(suite-native): do not create new storage for migrartions
- Storage instance can now be passed in params.
2026-01-07 09:48:00 +01:00
Vojtěch Tranta
d0db7e7032 fix: update project deps 2026-01-07 09:48:00 +01:00
Vojtěch Tranta
3e04f7123f fix: cache the promise that ensures the encryption key over calls 2026-01-07 09:48:00 +01:00
Peter Sanderson
0643f534fe feat: prototype of Native Platform Encryption 2026-01-07 09:48:00 +01:00
tomasklim
2e60907d0c chore: remove tada from suite 2025-12-15 12:59:09 +01:00
Tomas Boda
6147797599 chore: bump @reduxjs/toolkit 2025-12-15 10:47:12 +01:00
juriczech
72d9f5ca2e chore(suite-native): portfolio tracker evolu unavailable 2025-12-05 00:48:50 +01:00
Petr Knetl
71e32c72d6 feat(suite-native): match system locale by language 2025-12-01 16:47:09 +00:00
Petr Knetl
c98fb409f5 refactor(suite-native): save system locale to redux 2025-12-01 16:47:09 +00:00
brantalikp
9b0e267013 chore(suite-native): updgrade MMKV to version 4 2025-11-18 12:02:18 +01:00
Tomas Boda
d0d6cc9ff8 chore(suite): bump @reduxjs/toolkit 2025-11-14 10:19:10 +01:00
Matej Kriz
8d9b6ad423 fix(suite-native): prevent errors if oldState is undefined 2025-11-11 12:06:59 +01:00
Matej Kriz
122fdc5222 fix(suite-native): disable default redux-persist timeout to prevent data loss
- If reading from storage took more than 5 seconds, data get wiped. We can prevent that by disabling the timeout completely.
2025-11-10 14:12:09 +01:00
Matej Kriz
aa3600cfd2 feat(suite-native): migrate autoEject from device to walletSettings 2025-11-10 11:58:26 +01:00
Matej Kriz
91bc7b674a fix(suite-native): migrated state should always have _persist defined
- Old state in migration should always have _persist defined so it's added even for initial migration from undefined state.
2025-11-10 11:58:26 +01:00
Matej Kriz
d742df59d6 feat(suite-native): enable async migrations and initial migrations from other parts of state
- Original `createMigrate` helper from `redux-persist` uses `reduce` on migrations object keys, so asynchronous migrations couldn’t work unless they were in the last position (following migration got promise as previous value instead of state to migrate).
- The previous solution for `initialMigration` can't work with more versions so the new `createAsyncMigrate` can handle the initial migration with the same interface as other migrations. Migration to version `1` is considered an initial migration and accepts an undefined old state.
- The type for migration functions `MigrationManifest` is enhanced. The old state is always unknown; it should always be validated. The output of each migration is also unknown, because it doesn't have to be final. The final output should satisfy the type of current initial state in the reducer, but each property is optional, because migrated state is merged with the initial state together, so not defined properties are not migrated but used from initial state.
- A lot of the old migrations don't satisfy this new more stricter type, which is why `any` with a FIXME note has been added. The proper validation for those migrations will be added in a follow-up.
2025-11-06 17:27:37 +01:00
Petr Knetl
b3be5dbbdc chore(suite): bump sentry to SDK 10 2025-11-04 10:28:43 +01:00
Petr Knetl
a125ec32aa chore(suite-native): bump react native related dependencies (2025-10) 2025-10-27 13:04:36 +01:00
Petr Knetl
e974669278 chore(suite-native): bump not native specific dependencies (2025-10) 2025-10-27 13:04:36 +01:00
Jiří Čermák
da15b18eff chore: upgrade @reduxjs/toolkit to v2.9.1 2025-10-21 15:12:12 +02:00
Jiří Čermák
78f16f554b chore: update @reduxjs/toolkit to version 2.9.0 across multiple packages 2025-10-21 15:12:12 +02:00
brantalikp
6a1176a102 chore(suite-native): expo 54: dependencies update 2025-10-20 11:35:17 +02:00
Jiří Čermák
0053b5b021 refactor: rename holesky to hoodi 2025-10-10 11:12:09 +02:00
Peter Sanderson
7027213e3f fix: add TON of missing dependecies in package.json 2025-09-18 13:04:25 +02:00
Jiri Zbytovsky
fbdfdec3b8 feat(suite-native): filterInconclusiveAuthenticityChecks also in mobile 2025-09-15 09:45:25 +02:00
Jiri Zbytovsky
b73e2225ec fix(suite-native): add missing migration for device authenticityChecks 2025-09-12 17:50:57 +02:00
Petr Knetl
d404301bfb chore(suite-native): bump gorhom/bottom-sheet jotai lottie yup (2025.08) 2025-08-28 10:37:40 +02:00
brantalikp
d89d5a0c8c fix(suite-native): fix build and type errors 2025-06-23 17:46:37 +02:00
brantalikp
80db8af3e2 chore: update other packages 2025-06-23 17:46:37 +02:00
Jiri Zbytovsky
283e9a51a4 chore: prune dead code from suite-native 2025-06-14 15:47:06 +02:00
yanas
2724a4c4a1 feat(suite-native): add possibility to connect bluetooth devices 2025-06-03 21:34:48 +02:00
Jiri Zbytovsky
17dd4f5290 chore(suite-native): purge obsolete native discovery redux 2025-06-03 15:47:16 +02:00
Tomas Martykan
6c6ea2136b chore(suite-native): migrations for unified wallet settings 2025-05-19 13:52:13 +02:00
tomasklim
887018eacb chore: update redux libs 2025-05-17 08:58:34 +02:00
Jirka Bažant
7f1895cc72 chore(suite-native): Bump RN to 0.76.9, @sentry/react-native to 6.10 2025-04-08 12:07:18 +02:00
Daniel Suchý
539abcb666 feat(mobile): temporary remember device during fw update (#17666) 2025-03-18 13:56:00 +01:00
Nodonisko
39c71a19dd chore: redux upgrade 2025-03-07 14:42:12 +01:00
Matej Kriz
c582d26e45 feat(suite-native): report to sentry if user clear the app storage because of app storage error 2025-02-05 22:58:35 +01:00
Matej Kriz
5947fc8491 fix(suite-native): prevent occasional data losses
From Sentry reports it seems that on iOS it happens mostly on the background without user interaction (hypothesis is that after automatic app update iOS starts the app).

On Android, it might happen during app start from time to time, not sure why and when.

When the reading from the secure store fails, we used to immediately reset the key and make all user data inaccessible. Now we will always ask the user to either try to restart the app or reset the storage if it doesn't help.
2025-02-05 22:58:35 +01:00
yanas
04988b2deb chore(suite-native): autofix for sort-imports eslint rule 2025-01-30 15:03:34 +01:00
Prochmi99
366cb0904a chore(suite-native): add migration for suite-native 2025-01-28 19:31:58 +01:00