Skip to content

Commit e902222

Browse files
authored
Merge branch 'main' into fix/ramps/buildquote-flickering
2 parents a303b85 + 7e7938a commit e902222

File tree

5 files changed

+14
-11
lines changed

5 files changed

+14
-11
lines changed

.detoxrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module.exports = {
2222
$0: 'jest',
2323
config: 'e2e/jest.e2e.config.js',
2424
},
25-
detached: true,
25+
detached: process.env.CI ? true : false,
2626
jest: {
2727
setupTimeout: 220000,
2828
teardownTimeout: 60000, // Increase teardown timeout from default 30s to 60s

android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ android {
187187
applicationId "io.metamask"
188188
minSdkVersion rootProject.ext.minSdkVersion
189189
targetSdkVersion rootProject.ext.targetSdkVersion
190-
versionName "7.59.0"
190+
versionName "7.60.0"
191191
versionCode 2818
192192
testBuildType System.getProperty('testBuildType', 'debug')
193193
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

app/core/Snaps/SnapsMethodMiddleware.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ import { MetricsEventBuilder } from '../Analytics/MetricsEventBuilder';
3636
import { Json } from '@metamask/utils';
3737
import { SchedulableBackgroundEvent } from '@metamask/snaps-controllers';
3838
import { endTrace, trace } from '../../util/trace';
39+
import { AppState } from 'react-native';
3940

4041
export function getSnapIdFromRequest(
4142
request: Record<string, unknown>,
@@ -190,7 +191,9 @@ const snapMethodMiddlewareBuilder = (
190191
engineContext.ApprovalController.addAndShowApprovalRequest.bind(
191192
engineContext.ApprovalController,
192193
),
193-
getIsActive: () => true, // For now we consider the app to be always active.
194+
getIsActive: () =>
195+
AppState.currentState === 'active' &&
196+
engineContext.KeyringController.isUnlocked(),
194197
getIsLocked: () => !engineContext.KeyringController.isUnlocked(),
195198
getEntropySources: () => {
196199
const state = controllerMessenger.call('KeyringController:getState');

bitrise.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3574,13 +3574,13 @@ app:
35743574
PROJECT_LOCATION_IOS: ios
35753575
- opts:
35763576
is_expand: false
3577-
VERSION_NAME: 7.59.0
3577+
VERSION_NAME: 7.60.0
35783578
- opts:
35793579
is_expand: false
35803580
VERSION_NUMBER: 2818
35813581
- opts:
35823582
is_expand: false
3583-
FLASK_VERSION_NAME: 7.59.0
3583+
FLASK_VERSION_NAME: 7.60.0
35843584
- opts:
35853585
is_expand: false
35863586
FLASK_VERSION_NUMBER: 2818

ios/MetaMask.xcodeproj/project.pbxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1311,7 +1311,7 @@
13111311
"${inherited}",
13121312
);
13131313
LLVM_LTO = YES;
1314-
MARKETING_VERSION = 7.59.0;
1314+
MARKETING_VERSION = 7.60.0;
13151315
ONLY_ACTIVE_ARCH = YES;
13161316
OTHER_CFLAGS = "$(inherited)";
13171317
OTHER_LDFLAGS = (
@@ -1377,7 +1377,7 @@
13771377
"${inherited}",
13781378
);
13791379
LLVM_LTO = YES;
1380-
MARKETING_VERSION = 7.59.0;
1380+
MARKETING_VERSION = 7.60.0;
13811381
ONLY_ACTIVE_ARCH = NO;
13821382
OTHER_CFLAGS = "$(inherited)";
13831383
OTHER_LDFLAGS = (
@@ -1446,7 +1446,7 @@
14461446
"\"$(SRCROOT)/MetaMask/System/Library/Frameworks\"",
14471447
);
14481448
LLVM_LTO = YES;
1449-
MARKETING_VERSION = 7.59.0;
1449+
MARKETING_VERSION = 7.60.0;
14501450
ONLY_ACTIVE_ARCH = YES;
14511451
OTHER_CFLAGS = "$(inherited)";
14521452
OTHER_LDFLAGS = (
@@ -1510,7 +1510,7 @@
15101510
"\"$(SRCROOT)/MetaMask/System/Library/Frameworks\"",
15111511
);
15121512
LLVM_LTO = YES;
1513-
MARKETING_VERSION = 7.59.0;
1513+
MARKETING_VERSION = 7.60.0;
15141514
ONLY_ACTIVE_ARCH = NO;
15151515
OTHER_CFLAGS = "$(inherited)";
15161516
OTHER_LDFLAGS = (
@@ -1676,7 +1676,7 @@
16761676
"\"$(SRCROOT)/MetaMask/System/Library/Frameworks\"",
16771677
);
16781678
LLVM_LTO = YES;
1679-
MARKETING_VERSION = 7.59.0;
1679+
MARKETING_VERSION = 7.60.0;
16801680
ONLY_ACTIVE_ARCH = YES;
16811681
OTHER_CFLAGS = (
16821682
"$(inherited)",
@@ -1743,7 +1743,7 @@
17431743
"\"$(SRCROOT)/MetaMask/System/Library/Frameworks\"",
17441744
);
17451745
LLVM_LTO = YES;
1746-
MARKETING_VERSION = 7.59.0;
1746+
MARKETING_VERSION = 7.60.0;
17471747
ONLY_ACTIVE_ARCH = NO;
17481748
OTHER_CFLAGS = (
17491749
"$(inherited)",

0 commit comments

Comments
 (0)