File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
flutter/lib/src/native/cocoa Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -54,20 +54,6 @@ class SentryNativeCocoa extends SentryNativeChannel {
5454 return super .init (hub);
5555 }
5656
57- // private func captureEnvelope(_ call: FlutterMethodCall, result: @escaping FlutterResult) {
58- // guard let arguments = call.arguments as? [Any],
59- // !arguments.isEmpty,
60- // let data = (arguments.first as? FlutterStandardTypedData)?.data else {
61- // print("Envelope is null or empty!")
62- // result(FlutterError(code: "2", message: "Envelope is null or empty", details: nil))
63- // return
64- // }
65- // guard let envelope = PrivateSentrySDKOnly.envelope(with: data) else {
66- // print("Cannot parse the envelope data")
67- // result(FlutterError(code: "3", message: "Cannot parse the envelope data", details: nil))
68- // return
69- // }
70-
7157 @override
7258 FutureOr <void > captureEnvelope (
7359 Uint8List envelopeData, bool containsUnhandledException) {
You can’t perform that action at this time.
0 commit comments