Я сталкиваюсь с ошибкой канала платформы в своем приложении Flutter, когда пытаюсь использовать карты Google. Ошибка возникает конкретно при вызове getVisiBlereGion () на контроллере Google Maps.
Информации об ошибке:
platformexception (channel-error, невозможно установить Connection: "dev.figer.pigeon.google_maps_mapluther_AndIDIPI. null, null) < /p>
// This is where the error occurs
try {
final LatLngBounds bounds = await googleMapController?.getVisibleRegion() ?? MapConstants.indiaBounds;
await updateVisibleMarkers(bounds, isRefresh: true);
} catch (e) {
print("Error getting visible region: $e");
}
Подробнее здесь: https://stackoverflow.com/questions/797 ... nel-dev-fl
Мобильная версия