TF-4269 Integrate Sentry into iOS NSE and automate dSYM upload in CI
This commit is contained in:
@@ -95,4 +95,24 @@ class SentryConfig {
|
||||
dist: sentryDist.isNotEmpty ? sentryDist : null,
|
||||
);
|
||||
}
|
||||
|
||||
static const String sentryConfigKeyChain = 'sentry_config_data';
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
return {
|
||||
'dsn': dsn,
|
||||
'environment': environment,
|
||||
'release': release,
|
||||
if (dist != null) 'dist': dist,
|
||||
'tracesSampleRate': tracesSampleRate,
|
||||
'profilesSampleRate': profilesSampleRate,
|
||||
'sessionSampleRate': sessionSampleRate,
|
||||
'onErrorSampleRate': onErrorSampleRate,
|
||||
'enableLogs': enableLogs,
|
||||
'isDebug': isDebug,
|
||||
'attachScreenshot': attachScreenshot,
|
||||
'isAvailable': isAvailable,
|
||||
'enableFramesTracking': enableFramesTracking,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user