fix init app not found id,change ffi from MainActivity to MainService,add boot service but not open

This commit is contained in:
csf
2022-02-09 17:04:13 +08:00
parent 2137f4b3f2
commit 9c3b10d6a9
9 changed files with 191 additions and 95 deletions

View File

@@ -228,9 +228,8 @@ toAndroidChannelInit() {
}
case "start_capture":
{
var peerID = call.arguments["peerID"] as String;
var name = call.arguments["name"] as String;
ServerPage.serverModel.setPeer(true, name: name, id: peerID);
clearLoginReqAlert();
ServerPage.serverModel.updateClientState();
break;
}
case "stop_capture":