mapbox / mapbox/mapbox-maps-flutter
Unable to establish connection on channel
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 380
- Forks
- 204
- PR merge metrics
- No merged PRs in 30d
Description
Hello Mapbox team.
Since upgrading from mapbox_maps_flutter v1.1.0 to v2.8.0 we have been getting heaps of "Unable to establish connection on channel" errors in production which is taking up our Sentry quota. (As part of this upgrade I also went from flutter v3.22.0 to v3.29.0 so maybe this could have contributed?)
Here are examples of these types of errors we are seeing:
PlatformException(channel-error, Unable to establish connection on channel: "dev.flutter.pigeon.mapbox_maps_flutter._PointAnnotationMessenger.setTextIgnorePlacement.0"., null, null)
PlatformException(channel-error, Unable to establish connection on channel: "dev.flutter.pigeon.mapbox_maps_flutter._PointAnnotationMessenger.setTextOptional.0"., null, null)
PlatformException(channel-error, Unable to establish connection on channel: "dev.flutter.pigeon.mapbox_maps_flutter._PointAnnotationMessenger.setIconIgnorePlacement.0"., null, null)
PlatformException(channel-error, Unable to establish connection on channel: "dev.flutter.pigeon.mapbox_maps_flutter._PointAnnotationMessenger.setSymbolZOrder.0"., null, null)
This is happening on a range of devices and operating systems (both android and ios)
Looks like there is a similar issue that got raised 3 days before this one https://github.com/mapbox/mapbox-maps-flutter/issues/976
Any ideas on what is going wrong?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the upgrade from mapbox_maps_flutter v1.1.0 to v2.8.0 and Flutter v3.22.0 to v3.29.0, then review related issue #976. Reproduce the channel errors across Android and iOS and identify why the listed PointAnnotationMessenger calls fail; done means those production errors no longer occur.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100