File tree Expand file tree Collapse file tree 4 files changed +15
-1
lines changed Expand file tree Collapse file tree 4 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 12281228 isa = XCRemoteSwiftPackageReference;
12291229 repositoryURL = "https://github.com/getsentry/sentry-cocoa/";
12301230 requirement = {
1231- branch = autoTrackAppLaunch ;
1231+ branch = mxTesting ;
12321232 kind = branch;
12331233 };
12341234 };
Original file line number Diff line number Diff line change @@ -13,6 +13,12 @@ struct FeedScreen: View {
1313
1414 @Binding var model : AppViewModel
1515 @State private var isAnimating = false
16+
17+ func crash( ) {
18+ let a = " "
19+ let b = a as! Date
20+ print ( b)
21+ }
1622
1723 var body : some View {
1824 VStack ( spacing: 8 ) {
@@ -44,6 +50,10 @@ struct FeedScreen: View {
4450 }
4551 }
4652 . frame ( height: 60 )
53+ Button ( " Crash " ) {
54+ print ( " going to crash " )
55+ crash ( )
56+ }
4757
4858 // Page view for feeds
4959 TabView ( selection: $model. feedState. selectedFeed) {
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ struct HackerNewsApp: App {
4242 options. sessionReplay. onErrorSampleRate = 1.0
4343 options. sendDefaultPii = true
4444 options. enableLogs = true
45+ options. experimental. enableSessionReplayInUnreliableEnvironment = true
4546
4647#if DEBUG
4748 options. environment = " development "
Original file line number Diff line number Diff line change 208208 }
209209 }
210210 }
211+ },
212+ "Crash" : {
213+
211214 },
212215 "feed.type.ask" : {
213216 "extractionState" : "manual",
You can’t perform that action at this time.
0 commit comments