experiment: Does this fix the moxxy/moxxyv2#99?
This commit is contained in:
parent
c3f25a5ab5
commit
c48c804695
@ -75,13 +75,15 @@ class AndroidIsolateHandler extends IsolateHandler {
|
||||
) async {
|
||||
_log.finest("Called start");
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
|
||||
|
||||
final androidEntryHandle = PluginUtilities.getCallbackHandle(androidEntrypoint)!.toRawHandle();
|
||||
_log.finest('AndroidEntryHandle: $androidEntryHandle');
|
||||
await _channel.invokeMethod("configure", [
|
||||
PluginUtilities.getCallbackHandle(androidEntrypoint)!.toRawHandle(),
|
||||
androidEntryHandle,
|
||||
jsonEncode({
|
||||
"genericEntrypoint": PluginUtilities.getCallbackHandle(entrypoint)!.toRawHandle(),
|
||||
"eventHandle": PluginUtilities.getCallbackHandle(handleUIEvent)!.toRawHandle()
|
||||
})
|
||||
}),
|
||||
]);
|
||||
|
||||
await attach(handleIsolateEvent);
|
||||
|
Reference in New Issue
Block a user