Skip to content

Commit 97b98cf

Browse files
committed
7.62.91 Prod OTA v1
1 parent 0b50ec5 commit 97b98cf

3 files changed

Lines changed: 17 additions & 1 deletion

File tree

app/components/Views/Settings/AppInformation/index.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ import {
3838
getFeatureFlagAppEnvironment,
3939
} from '../../../../core/Engine/controllers/remote-feature-flag-controller/utils';
4040
import { getPreinstalledSnapsMetadata } from '../../../../selectors/snaps';
41+
import { captureException } from '@sentry/react-native';
4142

4243
const createStyles = (colors) =>
4344
StyleSheet.create({
@@ -192,6 +193,12 @@ class AppInformation extends PureComponent {
192193
this.setState({ showEnvironmentInfo: true });
193194
};
194195

196+
onSendSentryTestError = () => {
197+
captureException(
198+
new Error('OTA update Sentry test error production 7.62.91 v1'),
199+
);
200+
};
201+
195202
render = () => {
196203
const colors = this.context.colors || mockTheme.colors;
197204
const styles = createStyles(colors);
@@ -271,6 +278,11 @@ class AppInformation extends PureComponent {
271278
)}
272279
</View>
273280
<Text style={styles.title}>{strings('app_information.links')}</Text>
281+
<TouchableOpacity onPress={this.onSendSentryTestError}>
282+
<Text style={styles.link}>
283+
Send Sentry test error production v1
284+
</Text>
285+
</TouchableOpacity>
274286
<View style={styles.links}>
275287
<TouchableOpacity onPress={this.onPrivacyPolicy}>
276288
<Text style={styles.link}>

app/components/Views/Wallet/index.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1278,6 +1278,10 @@ const Wallet = ({
12781278
}
12791279
/>
12801280
) : null}
1281+
<BannerAlert
1282+
severity={BannerAlertSeverity.Info}
1283+
title="this is ota update banner prod v1"
1284+
/>
12811285
<NetworkConnectionBanner />
12821286
</View>
12831287
<>

app/constants/ota.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import otaConfig from '../../ota.config.js';
66
* Reset to v0 when releasing a new native build
77
* We keep this OTA_VERSION here to because changes in ota.config.js will affect the fingerprint and break the workflow in Github Actions
88
*/
9-
export const OTA_VERSION: string = 'v0';
9+
export const OTA_VERSION: string = 'v1';
1010
export const RUNTIME_VERSION = otaConfig.RUNTIME_VERSION;
1111
export const PROJECT_ID = otaConfig.PROJECT_ID;
1212
export const UPDATE_URL = otaConfig.UPDATE_URL;

0 commit comments

Comments
 (0)