28 Commits

Author SHA1 Message Date
Matej Kriz
8aae6d8523 chore(react-native-usb): turn off debug logs 2026-02-10 20:24:31 +01:00
Daniel Suchý
5ccfee82eb feat: improve USB write performance in mobile app 2026-02-10 13:40:42 +01:00
Peter Sanderson
a4f8b09e38 fix: add depcheck scripts for all the package.json-s 2025-09-18 13:04:25 +02:00
Matej Kriz
8c73402114 fix(react-native-usb): do not close pending requests when Suite goes to background 2025-07-07 16:25:42 +02:00
yanas
e75860fc13 fix(suite-native): replace selectConfiguration in native USB transport with NOOP 2025-06-17 15:32:54 +02:00
yanas
54aa25647a feat(suite-native): implement reset method for native USB device 2025-05-21 11:42:51 +02:00
Jirka Bažant
cec4fe522a chore(suite): add explicit types for onDeviceConnected and onDeviceDisconnect return values 2025-04-08 12:07:18 +02:00
yanas
b96c899ebb chore(packages): autofix for sort-imports eslint rule 2025-01-30 16:34:04 +01:00
Daniel Suchý
8460127e54 feat(mobile): add usb priority mode for FW update (#15848) 2024-12-10 14:46:41 +01:00
Daniel Suchý
eda770d5a5 chore(mobile) : expo upgrade sdk 52 🚀 (#15383)
* chore: expo upgrade

* chore(mobile): expo sdk 52

* fix: android build

* chore(mobile): ⬆️ upgrade usb lib, jest, sentry

* fix(mobile): fix quick crypto android build
2024-11-19 16:14:41 +01:00
Peter Sanderson
763f9b5fd4 chore: reintroduce no-shadow in minimal form 2024-11-13 19:36:56 +01:00
Peter Sanderson
abb41f8033 chore: remove glboal nx/workspace link scripts (it shall be run only globally) + resolve ugly igonores for devDependencies in import/no-extraneous-dependencies 2024-11-13 10:36:38 +01:00
Peter Sanderson
6b8e9ab6d2 chore: Upgrade ESLint and all plugis & revalidate the config and ALL of the rules 2024-11-13 10:36:38 +01:00
Matej Kriz
5186cc90ed fix(suite-native): enable to confirm receive address outside our app
- We are closing device connection on going to background, so we have to reopen it once needed. We can open the device even on background. But Suite has to be still running, not killed.
- Closing all the devices OnActivityEntersBackground is a good thing because we want to allow other apps (like browser) to work with the Trezor too and it is a good practice to frees up system resources.
2024-10-10 17:22:31 +02:00
yanas
a0574222cb fix(react-native-usb): close all opened devices without exception 2024-08-23 16:22:27 +02:00
Matej Kriz
2cadceeaef feat(react-native-usb): request usb permission when app goes foreground
- When app enters foreground and there is some device without USB permissions (app intent denied or different app opened), it requests permission for current app too.
2024-06-20 09:19:14 +02:00
Matej Kriz
5c7d97b080 chore(react-native-usb): register receivers via manifest 2024-06-11 14:33:25 +02:00
Matej Kriz
f90e1801d2 chore(react-native-usb): unify log tag and reformat 2024-06-11 14:33:25 +02:00
Matej Kriz
cfe27ab7b7 fix(react-native-usb): implement opened WebUSBDevice state and closing device when leaving the app 2024-06-11 14:33:25 +02:00
Peter Sanderson
c82455e746 chore(suite): autofix newlines 2024-02-20 14:54:29 +01:00
Daniel Suchý
acf9a7f19c chore(repo): config cleanups and improvements (TS, Nx...) (#11096)
* chore(repo): config cleanups and improvements (TS, Nx...)

* fix connect e2e

* chore: add eslin cache file to nx cache

* chore: add stylelint cache file to nx

* chore: add ts-node config for to base.tsconfig.json
2024-02-09 13:11:35 +01:00
Daniel Suchý
bb37005e6b chore(mobile): Expo migration (#10769)
* gitignore android + ios folders

* update deps

* react-native-usb Expo + RN 0.73 support

* remove unnecessary fonts

* migrate to Expo

* update github workflows for Expo

* fix type error

* update expo-av

* fix lottie welcome animation

* change android version to 1 for debug

* fix deps

* fix tsconfig

* PR fixes

* fix min sdk version

* rename app

* add Sentry auth token to CI

* remove unsused deps in root package.json

* fix staging pipeline

* update package.json scripts

* fix staging

* fix fastlane prod

* fix unit tests

* fix unit tests
2024-01-26 18:45:30 +00:00
Daniel Suchý
3c5e253e0b fix(mobile): fix Cardano receive (#10580) 2024-01-09 16:50:59 +01:00
Daniel Suchý
1eba403a7b fix(mobile): fix crashes during discovery (#10457) 2024-01-02 16:10:04 +01:00
Daniel Suchý
69fd84a351 fix(mobile): fix usb read memory (#10382) 2023-12-19 09:35:59 +01:00
Daniel Suchý
16737fc1f4 fix(mobile): device is correctly disconnected (#10264) 2023-12-11 11:55:57 +01:00
Daniel Suchý
63be930e16 chore(mobile): device read/write on background thread (#10203) 2023-12-05 19:10:21 +01:00
Daniel Suchý
3be5f5015e feat(mobile): create react-native-usb library (#9689)
* feat(mobile): create react-native-usb library

* feat(transport): add react-native-usb layer

* chore: align package.json scripts with rest of repo

* chore: align formatting with rest of monorepo

* chore: refactor types

* chore: add xml values for Trezor devices filter

* chore: implement new transport in mobile app

* fix: fix write error - data type error

* fix: dedupe deps

* fix(mobile): rework permission request logic

* chore: remove old transport-native

* chore: move tranport-native to dynamically loaded package

* chore: remove unused files

* chore: cleanup + pr comments

* chore: update refs

* fix tsconfig.json

* fix types

* fix: fix protobuf typo
2023-10-29 12:34:05 +01:00