Skip to content

Commit

Permalink
Merge branch 'develop' into gregs-analytics-2
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-schrammel committed Dec 19, 2024
2 parents c6f844a + a3547f3 commit 6a1761c
Show file tree
Hide file tree
Showing 510 changed files with 10,792 additions and 5,952 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/comments-watchdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
fi
- name: Upload deleted comments log as artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: deleted-comments-log
path: deleted_comments_log.txt
11 changes: 6 additions & 5 deletions .github/workflows/macstadium-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ jobs:
- name: Set up github keys
run: git config core.sshCommand "ssh -i ~/.ssh/id_ed25519 -F /dev/null"

- name: Clean iOS app
run: yarn cache clean && yarn clean:ios > /dev/null 2>&1 || true

- name: Set up ENV vars & scripts
env:
CI_SCRIPTS: ${{ secrets.CI_SCRIPTS }}
Expand Down Expand Up @@ -168,6 +165,10 @@ jobs:
sed -i'' -e "s/IS_TESTING=false/IS_TESTING=true/" .env && rm -f .env-e
yarn detox build --configuration ios.sim.release
- name: Detox iOS e2e tests
- name: Detox iOS e2e tests parallel
run: |
./scripts/run-parallel-e2e.sh 3
- name: Detox iOS e2e tests serial
run: |
./scripts/run-retry-tests.sh 3
./scripts/run-serial-e2e.sh 3
72 changes: 72 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,78 @@ and this project adheres to [Semantic Versioning](http://semver.org/)

### Fixed

## [1.9.50] (https://github.com/rainbow-me/rainbow/releases/tag/v1.9.50)

### Fixed

- Fixed an issue with unlocking app icons (#6342, #6345)

## [1.9.49] (https://github.com/rainbow-me/rainbow/releases/tag/v1.9.49)

### Added

- Claim as X (#6193)
- NFT checker 2.0 (#6293)
- Added support for inkchain (#6323)

### Changed

- Improved nonce management logic for private mempool handling (#6277)
- Split e2e into parallel and serial flows to improve CI runs (#6317)
- Browser animation code cleanup (#6306)
- Converted network accessors to functions (#6219)
- Bumped nanoid from 3.3.7 to 3.3.8 in /src/design-system/docs (#6320)
- Updated default currentNonce value to -1 (#6324)
- Updated trending tokens query to support backend changes (#6312)
- Replaced node ack retires with a small delay (#6326)
- Updated swaps sdk (#6327)

### Fixed

- Fixed an issue with SignTransactionSheet not disabling button on authorization (#6242)
- Fixed an issue where the sticky header on the wallet screen couldn’t be tapped when scrolled down the page (#6309)
- Fixed a duplicate wallet initialization issue where initializeWallet was being called multiple times (#6310)
- Fixed an issue where the wallet height calculation caused a break in the wallet switcher list with wallets up to two accounts (#6315)
- Fixed a crash on develop regarding TextShadow (#6329)

## [1.9.48] (https://github.com/rainbow-me/rainbow/releases/tag/v1.9.48)

### Fixed

- Bumped persist version for positions query. Otherwise, app will crash when serving stale query that does not have new parser that guarantees non-null array fields (#6307)

## [1.9.47] (https://github.com/rainbow-me/rainbow/releases/tag/v1.9.47)

### Added

- Added react-native-turbo-haptics on both OS's (#6264)
- Added trending tokens query (#6288)
- Implemented active tab flag for dapp browser (#6279)
- Added translations for claimables, DeFi Positions, WC loading state and swaps v2 bridging (#6295)
- Added more analytics events for token details, erc20s and nfts (#6287)
- Added ability to deeplink to swaps (#6178)

### Changed

- Replaced custom native review module with expo-store-review (#6268)
- Updated mobile app's id'ing number of wallets to match BX (#6278)
- Dapp Browser upgrades (#6269, #6300)
- Enable third party defi positions & fix token list exclusion logic (#6299)

### Fixed

- Fixed a crash that would happen when attempting to swap tokens with 0 decimals (#6263)
- Fixed app store deep links in dapp browser (#6267)
- Fixed address searches on discover screen (#6272)
- Fixed wallet telemetry identify for analytics (#6258)
- Fixed a bug where users weren't able to open points breakdown from points screen (#6284)
- Fixed an issue where we showed NaN wallet balance (#6283)
- We now use MMKVObject initial value which fixes the empty default object being recreated (#6290)
- Fixed the issue where we weren't showing the ledger pairing sheet during swaps confirmation (#6275)
- Fixed build failures by using appstore connect key for CI (#6294)
- Fixed a race condition where the wallet list would be static and users couldn't scroll (#6286)
- Fixed lp badge gradient overflow and android shadows (#6296)

## [1.9.46] (https://github.com/rainbow-me/rainbow/releases/tag/v1.9.46)

### Changed
Expand Down
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ android {
applicationId "me.rainbow"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 240
versionName "1.9.47"
versionCode 244
versionName "1.9.51"
missingDimensionStrategy 'react-native-camera', 'general'
renderscriptTargetApi 23
renderscriptSupportModeEnabled true
Expand Down
13 changes: 13 additions & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,19 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity-alias>
<activity-alias
android:name="me.rainbow.MainActivityRedacted"
android:enabled="false"
android:icon="@mipmap/redacted"
android:roundIcon="@mipmap/redacted_round"
android:targetActivity=".MainActivity"
android:exported="true"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity-alias>

<!-- Branch init -->
<meta-data android:name="io.branch.sdk.BranchKey" android:value="${BRANCH_KEY}" />
Expand Down
5 changes: 5 additions & 0 deletions android/app/src/main/res/mipmap-anydpi-v26/redacted.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/redacted_background"/>
<foreground android:drawable="@mipmap/redacted_foreground"/>
</adaptive-icon>
5 changes: 5 additions & 0 deletions android/app/src/main/res/mipmap-anydpi-v26/redacted_round.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/redacted_background"/>
<foreground android:drawable="@mipmap/redacted_foreground"/>
</adaptive-icon>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import {
authenticatePin,
delayTime,
afterAllcleanApp,
} from './helpers';
import { WALLET_VARS } from './testVariables';
} from '../helpers';
import { WALLET_VARS } from '../testVariables';

const android = device.getPlatform() === 'android';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { device } from 'detox';
import { beforeAllcleanApp, checkIfVisible, waitAndTap, authenticatePin, delayTime, afterAllcleanApp } from './helpers';
import { beforeAllcleanApp, checkIfVisible, waitAndTap, authenticatePin, delayTime, afterAllcleanApp } from '../helpers';

const android = device.getPlatform() === 'android';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
afterAllcleanApp,
tap,
delayTime,
} from './helpers';
} from '../helpers';

const RAINBOW_TEST_WALLET = 'rainbowtestwallet.eth';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
delayTime,
importWalletFlow,
afterAllcleanApp,
} from './helpers';
} from '../helpers';

const ios = device.getPlatform() === 'ios';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
checkIfDoesntExist,
delayTime,
afterAllcleanApp,
} from './helpers';
} from '../helpers';

describe('Watched showcase and hidden actions flow', () => {
beforeAll(async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import {
delayTime,
tapAtPoint,
checkIfExists,
} from './helpers';
import { WALLET_VARS } from './testVariables';
} from '../helpers';
import { WALLET_VARS } from '../testVariables';

describe('Check malicious dapp warning', () => {
beforeAll(async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ import {
tap,
tapByText,
delayTime,
tapAtPoint,
checkIfExistsByText,
checkIfExists,
waitAndTap,
checkIfDoesntExist,
} from './helpers';
} from '../helpers';

describe('Backups', () => {
beforeAll(async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
tapByText,
delayTime,
afterAllcleanApp,
} from './helpers';
} from '../helpers';

const android = device.getPlatform() === 'android';

Expand Down
5 changes: 2 additions & 3 deletions e2e/9_swaps.spec.ts → e2e/serial/2_swaps.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,10 @@ import {
delayTime,
swipeUntilVisible,
tapAndLongPress,
swipe,
} from './helpers';
} from '../helpers';

import { expect } from '@jest/globals';
import { WALLET_VARS } from './testVariables';
import { WALLET_VARS } from '../testVariables';

describe('Swap Sheet Interaction Flow', () => {
beforeAll(async () => {
Expand Down
Binary file added ios/AppIcons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ios/AppIcons/[email protected]
Binary file modified ios/Images.xcassets/badges/ethereum.imageset/ethereum.png
Binary file modified ios/Images.xcassets/badges/ethereum.imageset/[email protected]
Binary file modified ios/Images.xcassets/badges/ethereum.imageset/[email protected]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"images" : [
{
"filename" : "ethereumBadgeDark-1.png",
"filename" : "ethereumBadgeDark.png",
"idiom" : "universal",
"scale" : "1x"
},
Expand Down
Diff not rendered.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"filename" : "ethereumBadgeLarge.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "[email protected]",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "[email protected]",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"filename" : "ethereumBadgeLargeDark.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "[email protected]",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "[email protected]",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"filename" : "ethereumBadgeNoShadow.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "[email protected]",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "[email protected]",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
23 changes: 23 additions & 0 deletions ios/Images.xcassets/badges/ink.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"filename" : "ink.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "[email protected]",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "[email protected]",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Binary file added ios/Images.xcassets/badges/ink.imageset/ink.png
23 changes: 23 additions & 0 deletions ios/Images.xcassets/badges/inkBadge.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"filename" : "inkBadge.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "[email protected]",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "[email protected]",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading

0 comments on commit 6a1761c

Please sign in to comment.