Questions tagged [pigeon]

8 questions
2
votes
0 answers

Why are my Map overlays/markers all clogged up on the edge (top-left) of the Map component?

I get all data after making an API call based on the visible map boundaries. The data has coordinates in it. Hovering over the overlays/markers show the coordinates are being received (as shown in the pic). Pigeon-maps is used for this…
Waleed
  • 21
  • 2
1
vote
0 answers

Flutter WorkManager Pigeon -> Unable to establish connection on channel

I have been using Pigeon to call Android native side for data. However when i try to do the same thing in a WorkManager task, it just throws PlatformException(channel-error, Unable to establish connection on channel., null, null). I suspect the…
1
vote
1 answer

Call Flutter from native iOS and get value back using Pigeon FlutterApi

I'm using Pigeon library to connect Flutter and native platform code, in particular iOS with Swift. I want to call a flutter function from Swift and get a value back, all synchronously. The function on flutter is defined like…
G.Rulli
  • 11
  • 3
1
vote
1 answer

How to use `Map` type in Pigeon

How can I specify a type in Pigeon to be a Map (e.g. Map), and preferably a Map with dynamic value types (Map. I can't know for sure what type the data values are until the push message is sent. Attempt 1 I've tried…
Ben Butterworth
  • 22,056
  • 10
  • 114
  • 167
0
votes
0 answers

Flutter module communication with main app using Pigeon plugin

I have a Flutter module imported into a main Flutter application. I'm trying to use the Pigeon plugin to call methods from my module to the native side of my main application. However, I'm facing issues with configuring Pigeon correctly. Here's what…
Malaury Boudon
  • 656
  • 1
  • 8
  • 18
0
votes
1 answer

Trouble with Pigeon: Unable to bridge between Dart and Kotlin in debug mode

I'm facing an issue with Pigeon in Flutter. In debug mode, my code fails to bridge between the pigeon_api.dart (file from flutter code) and pigeon_api.kt (file from native android side) Pigeon_api.dart: // Autogenerated from Pigeon (v10.1.4), do not…
Malaury Boudon
  • 656
  • 1
  • 8
  • 18
0
votes
0 answers

Flutter module used in iOS native app: Unhandled Exception with shared_preferences initialization - PlatformException(channel-error)

I have been searching on Stack Overflow for a long time, but I haven't found a suitable solution. Most of the answers either don't work or don't provide a clear answer, such as this post: SharedPreference giving "Unable to establish connection on…
0
votes
1 answer

Pigeon Maps Popup get rendered infinitely onMouseOver

When I hover over a geopoint marker the popover appears and then disappears infinitely and until I move mouse off of marker. My HandleMouseOver function should only show the popup once, I am unsure why it is looping through multiple times: const…