segmentio/analytics_flutter

Map cast error

loganholgersson opened this issue · 3 comments

Hi Segment team. Could you take a look and fix the next issue we are facing in production builds:

Fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: type '_Map<Object?, Object?>' is not a subtype 
of type 'Map<String, dynamic>' in type cast at AnalyticsPlatformImpl.linkStream.<fn>(analytics_pigeon.dart:21)

(dynamic link) => link as Map<String, dynamic>);

Thanks!

Hi @loganholgersson thank you for your report. We start looking into this.

@edsonjab I see a PR has been merged to main, calling it as fix. So it's safe to assume that this is closed?

@Imgkl yes, this issue will be closed.