17 Commits

Author SHA1 Message Date
Daniel Suchý
5ccfee82eb feat: improve USB write performance in mobile app 2026-02-10 13:40:42 +01: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
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
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
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ý
69fd84a351 fix(mobile): fix usb read memory (#10382) 2023-12-19 09:35:59 +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