@@ -17,7 +17,7 @@ import CoreVideo
17
17
// swiftlint:disable file_length function_body_length
18
18
19
19
// swiftlint:disable:next type_body_length
20
- public class SentryFlutterPluginApple : NSObject , FlutterPlugin {
20
+ public class SentryFlutterPlugin : NSObject , FlutterPlugin {
21
21
private let channel : FlutterMethodChannel
22
22
23
23
private static let nativeClientName = " sentry.cocoa.flutter "
@@ -45,7 +45,7 @@ public class SentryFlutterPluginApple: NSObject, FlutterPlugin {
45
45
let channel = FlutterMethodChannel ( name: " sentry_flutter " , binaryMessenger: registrar. messenger)
46
46
#endif
47
47
48
- let instance = SentryFlutterPluginApple ( channel: channel)
48
+ let instance = SentryFlutterPlugin ( channel: channel)
49
49
instance. registerObserver ( )
50
50
registrar. addMethodCallDelegate ( instance, channel: channel)
51
51
}
@@ -306,7 +306,7 @@ public class SentryFlutterPluginApple: NSObject, FlutterPlugin {
306
306
}
307
307
308
308
let version = PrivateSentrySDKOnly . getSdkVersionString ( )
309
- PrivateSentrySDKOnly . setSdkName ( SentryFlutterPluginApple . nativeClientName, andVersionString: version)
309
+ PrivateSentrySDKOnly . setSdkName ( SentryFlutterPlugin . nativeClientName, andVersionString: version)
310
310
311
311
// note : for now, in sentry-cocoa, beforeSend is not called before captureEnvelope
312
312
options. beforeSend = { event in
@@ -368,7 +368,7 @@ public class SentryFlutterPluginApple: NSObject, FlutterPlugin {
368
368
if isValidSdk ( sdk: sdk) {
369
369
370
370
switch sdk [ " name " ] as? String {
371
- case SentryFlutterPluginApple . nativeClientName:
371
+ case SentryFlutterPlugin . nativeClientName:
372
372
#if os(OSX)
373
373
let origin = " mac "
374
374
#elseif os(watchOS)
@@ -483,7 +483,7 @@ public class SentryFlutterPluginApple: NSObject, FlutterPlugin {
483
483
let isColdStart = appStartMeasurement. type == . cold
484
484
485
485
let item : [ String : Any ] = [
486
- " pluginRegistrationTime " : SentryFlutterPluginApple . pluginRegistrationTime,
486
+ " pluginRegistrationTime " : SentryFlutterPlugin . pluginRegistrationTime,
487
487
" appStartTime " : appStartTime,
488
488
" isColdStart " : isColdStart,
489
489
" nativeSpanTimes " : nativeSpanTimes
0 commit comments