File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ import {
3838 getFeatureFlagAppEnvironment ,
3939} from '../../../../core/Engine/controllers/remote-feature-flag-controller/utils' ;
4040import { getPreinstalledSnapsMetadata } from '../../../../selectors/snaps' ;
41+ import { captureException } from '@sentry/react-native' ;
4142
4243const 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 } >
Original file line number Diff line number Diff 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 < >
Original file line number Diff line number Diff 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 ' ;
1010export const RUNTIME_VERSION = otaConfig . RUNTIME_VERSION ;
1111export const PROJECT_ID = otaConfig . PROJECT_ID ;
1212export const UPDATE_URL = otaConfig . UPDATE_URL ;
You can’t perform that action at this time.
0 commit comments