-
Notifications
You must be signed in to change notification settings - Fork 250
Closed
Description
i've using this plugin for navigation needs, and when im off from route, there's some error occured
FormatException: Unexpected character (at character 49)
{ "eventType": "user_off_route", "data": "{ "latitude": -7.7363183, "lo...stacktraces
#0 _ChunkedJsonParser.fail (dart:convert-patch/convert_patch.dart:1404)
#1 _ChunkedJsonParser.parse (dart:convert-patch/convert_patch.dart:934)
#2 _parseJson (dart:convert-patch/convert_patch.dart:40)
#3 JsonDecoder.convert (dart:convert/json.dart:505)
#4 JsonCodec.decode (dart:convert/json.dart:156)
#5 MapBoxNavigation._parseRouteEvent (package:flutter_mapbox_navigation/flutter_mapbox_navigation.dart:123)
#6 MapBoxNavigation._streamRouteEvent.<anonymous closure> (package:flutter_mapbox_navigation/flutter_mapbox_navigation.dart:112)
#7 _MapStream._handleData (dart:async/stream_pipe.dart:219)
#8 _ForwardingStreamSubscription._handleData (dart:async/stream_pipe.dart:157)
#9 _rootRunUnary (dart:async/zone.dart:1198)
#10 _CustomZone.runUnary (dart:async/zone.dart:1100)
#11 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1005)
#12 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:357)
#13 _DelayedData.perform (dart:async/stream_impl.dart:611)
#14 _StreamImplEvents.handleNext (dart:async/stream_impl.dart:730)
#15 _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:687)
#16 _rootRun (dart:async/zone.dart:1182)
#17 _CustomZone.run (dart:async/zone.dart:1093)
#18 _CustomZone.runGuarded (dart:async/zone.dart:997)
#19 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1037)
#20 _rootRun (dart:async/zone.dart:1190)
#21 _CustomZone.run (dart:async/zone.dart:1093)
#22 _CustomZone.runGuarded (dart:async/zone.dart:997)
#23 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1037)
#24 _microtaskLoop (dart:async/schedule_microtask.dart:41)
#25 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)
any idea why this error happen? thanks in advance
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels