chore: Follow up notification actions
This commit is contained in:
parent
ae11d5b47f
commit
b7e112a224
3 changed files with 20 additions and 2 deletions
|
|
@ -20,6 +20,7 @@ ReceivePort? mainIsolateReceivePort;
|
|||
void main() async {
|
||||
if (PlatformInfos.isAndroid) {
|
||||
final port = mainIsolateReceivePort = ReceivePort();
|
||||
IsolateNameServer.removePortNameMapping('main_isolate');
|
||||
IsolateNameServer.registerPortWithName(
|
||||
port.sendPort,
|
||||
'main_isolate',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue