This repository was archived by the owner on Jun 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into desktop-test-coverage
* develop: (155 commits) Bump electron from 3.1.6 to 3.1.8 in /src/desktop (#1294) Bump react-transition-group from 2.7.1 to 2.9.0 in /src/desktop (#1273) Bump css-loader from 2.1.0 to 2.1.1 in /src/desktop (#1262) Bump electron-builder from 20.38.5 to 20.39.0 in /src/desktop (#1261) Bump @ledgerhq/hw-transport-node-hid in /src/desktop (#1290) Bump snyk from 1.149.0 to 1.150.0 (#1289) Bump fastlane from 2.119.0 to 2.120.0 in /src/mobile/ios (#1288) Bump fastlane from 2.119.0 to 2.120.0 in /src/mobile/android (#1287) Bump snyk from 1.148.0 to 1.149.0 (#1286) Shared: Add node request timeouts for getTransactionsToApprove endpoint (#1284) Mobile: Wait for SeedStore constructor promise to resolve before making a retry attempt (#1283) Bump snyk from 1.147.4 to 1.148.0 (#1279) Mobile: Minor changes to seed text input (#1244) New Crowdin translations (#1252) Mobile: Reenable and refactor deep linking (#1143) Only convert transactions to normalised transactions if notification function is defined (#1276) feat: add realm migration from v1 to v2 (#1274) Mobile: Fix AsyncStorage migration (#1272) Bump webpack-dev-middleware from 3.6.0 to 3.6.2 in /src/desktop (#1264) Bump snyk from 1.147.3 to 1.147.4 (#1270) ... # Conflicts: # package.json # src/desktop/native/Entangled.js # src/desktop/package.json # src/desktop/src/index.js # src/desktop/src/libs/crypto.js # src/desktop/src/ui/components/Balance.js # src/desktop/src/ui/components/List.js # src/desktop/src/ui/global/Theme.js # src/desktop/src/ui/views/settings/account/Addresses.js # src/desktop/src/ui/views/wallet/Sidebar.js # src/shared/libs/currency.js
- Loading branch information
Showing
422 changed files
with
28,524 additions
and
18,786 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Building `entangled` for Trinity Mobile | ||
|
||
## Required Dependencies | ||
- [Bazel](https://docs.bazel.build/versions/master/install.html) | ||
- Xcode with Command Line Tools installed (iOS only) | ||
- Android SDK (Android only) | ||
- Android NDK (Android only) | ||
|
||
|
||
## iOS | ||
1. Clone `iotaledger/entangled` and navigate to it | ||
``` | ||
git clone https://github.com/iotaledger/entangled && cd entangled | ||
``` | ||
2. Check out [iotaledger/entangled#26](https://github.com/iotaledger/entangled/pull/26) | ||
``` | ||
git fetch origin pull/26/head:ios | ||
``` | ||
3. Build the `mobile/ios:ios_bindings` target for all CPU architectures | ||
``` | ||
bazel build --ios_multi_cpus=i386,x86_64,armv7,arm64 --copt=-fembed-bitcode --copt=-O3 //mobile/ios:ios_bindings | ||
``` | ||
4. Unzip the generated framework | ||
``` | ||
unzip bazel-bin/mobile/ios/ios_bindings.zip -d ios_bindings | ||
``` | ||
5. Open the Trinity iOS workspace located in `trinity-wallet/src/mobile/ios/iotaWallet.xcworkspace` | ||
6. Delete the existing `EntangledKit.framework` from the workspace (make sure to select `Move to Trash`) | ||
7. Drag the new framework from `entangled/ios_bindings` into the `Frameworks` group in the workspace (ensure that `Copy items if needed` and `Create groups` are selected) | ||
|
||
## Android | ||
|
||
1. Navigate to `src/mobile/scripts` | ||
``` | ||
cd src/mobile/scripts | ||
``` | ||
2. Run `build-entangled-android.sh` | ||
``` | ||
./build-entangled-android.sh | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-54.6 KB
(26%)
...sktop/__tests__/ui/views/onboarding/__snapshots__/accountName.test.jsx-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-55.5 KB
(26%)
...p/__tests__/ui/views/onboarding/__snapshots__/accountPassword.test.jsx-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-78.1 KB
(20%)
src/desktop/__tests__/ui/views/onboarding/__snapshots__/done.test.jsx-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-25.5 KB
(43%)
src/desktop/__tests__/ui/views/onboarding/__snapshots__/login.test.jsx-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-62.9 KB
(24%)
...ktop/__tests__/ui/views/onboarding/__snapshots__/seedGenerate.test.jsx-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-107 KB
(15%)
...desktop/__tests__/ui/views/onboarding/__snapshots__/seedIntro.test.jsx-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-96.5 KB
(17%)
src/desktop/__tests__/ui/views/onboarding/__snapshots__/seedSave.test.jsx-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-78.6 KB
(20%)
...esktop/__tests__/ui/views/onboarding/__snapshots__/seedVerify.test.jsx-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-45.8 KB
(30%)
src/desktop/__tests__/ui/views/onboarding/__snapshots__/welcome.test.jsx-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-98.6 KB
(16%)
.../__tests__/ui/views/onboarding/seedStore/__snapshots__/ledger.test.jsx-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-186 KB
(9.4%)
src/desktop/__tests__/ui/views/settings/__snapshots__/advanced.test.jsx-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-43 KB
(31%)
src/desktop/__tests__/ui/views/settings/__snapshots__/currency.test.jsx-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-47.2 KB
(29%)
src/desktop/__tests__/ui/views/settings/__snapshots__/language.test.jsx-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-108 KB
(15%)
src/desktop/__tests__/ui/views/settings/__snapshots__/mode.test.jsx-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-52.7 KB
(27%)
src/desktop/__tests__/ui/views/settings/__snapshots__/node.test.jsx-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-93.8 KB
(17%)
src/desktop/__tests__/ui/views/settings/__snapshots__/password.test.jsx-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-56.4 KB
(26%)
src/desktop/__tests__/ui/views/settings/__snapshots__/theme.test.jsx-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-128 KB
(13%)
src/desktop/__tests__/ui/views/settings/__snapshots__/twoFa.test.jsx-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-108 KB
(15%)
...p/__tests__/ui/views/settings/account/__snapshots__/addresses.test.jsx-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-163 KB
(11%)
src/desktop/__tests__/ui/views/wallet/__snapshots__/dashboard.test.jsx-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-154 KB
(11%)
src/desktop/__tests__/ui/views/wallet/__snapshots__/receive.test.jsx-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-162 KB
(11%)
src/desktop/__tests__/ui/views/wallet/__snapshots__/send.test.jsx-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.