nearby_connections
nearby_connections copied to clipboard
onEndpointFound never gets called in dart code. Error : FlutterJNI(26633): Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: nearby_connections. Response ID: 4
Below is the error when discovery finds a device. but onEndpointFound on dart side never gets called.
NearbyConnections(26633): NFC discovery started. D/NearbyConnections(26633): Invalidating dispatch state. D/NearbyConnections(26633): Starting NFC dispatching. D/NearbyConnections(26633): Cannot dispatch NFC events. NFC is not supported. D/nearby_connections(26633): startDiscovery D/nearby_connections(26633): onEndpointFound W/FlutterJNI(26633): Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: nearby_connections. Response ID: 4