Closed gdo closed 4 years ago
Hello,
You need to add
result.success(0);
to the controlVolume method otherwise the lineawait Volume.controlVolume(audioManager);
in the dart code never finishHere :
@Override public void onMethodCall(MethodCall call, Result result) { if (call.method.equals("controlVolume")) { int i = call.argument("streamType"); streamType = i; controlVolume(i); /////////////////////////////////////////////// result.success(0); /////////////////////////////////////////////// } else if (call.method.equals("getMaxVol")) { ...... }
Sorry for the late update . This issue was resolved by geisterfurz007 and this is updated in the version 0.1.3
Hello,
You need to add
result.success(0);
to the controlVolume method otherwise the lineawait Volume.controlVolume(audioManager);
in the dart code never finishHere :