TF-4269 Integrate Sentry into iOS NSE and automate dSYM upload in CI

This commit is contained in:
dab246
2026-04-21 11:51:36 +07:00
parent 4505c50302
commit bab9d4f24c
17 changed files with 412 additions and 18 deletions
+20
View File
@@ -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,
};
}
}