Closed fvisticot closed 4 years ago
I try to develop the same kind of background plugin for Bluetooth.
final SendPort send = IsolateNameServer.lookupPortByName('ble_send_port');
Is it normal that IsolateNameServer.lookupPortByName returns null after phone reboot ? Any advice ?
After more investigation, the call to IsolateNameServer.registerPortWithName was made to late in the app. It is working now.
I try to develop the same kind of background plugin for Bluetooth.
final SendPort send = IsolateNameServer.lookupPortByName('ble_send_port');
Is it normal that IsolateNameServer.lookupPortByName returns null after phone reboot ? Any advice ?