Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS 端上传方法中没有回调 result(arguments),Flutter 代码里会卡住不往下执行。 #10

Open
binglingziyu opened this issue Sep 3, 2020 · 0 comments

Comments

@binglingziyu
Copy link

[CHANNEL invokeMethod:@"onUpload" arguments:arguments];

[CHANNEL invokeMethod:@"onUpload" arguments:arguments];

......

var fileKey = 'test/images/${_uuid.v1()}.jpg';
await _alyOss.upload(UploadRequest(_uuid.v4(), value.data.bucket, fileKey, pickedFile.path));

// 卡住了,无法往下执行

BotToast.showText(text: "图片上传完成!");
Log.d("https://xxxx.oss-cn-shanghai.aliyuncs.com/$fileKey");

......
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant