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

在ios13.2.3上 ImagePickerSaver.saveFile 获取不到保持的图片地址 #47

Open
gaoyong06 opened this issue May 14, 2020 · 2 comments

Comments

@gaoyong06
Copy link

我用两个ios的测试手机进行测试:

在 ios12.4.6 上:
var filePath = await ImagePickerSaver.saveFile(fileData: data);
这行代码可以正常执行,并可以获取到filePath

在ios13.2.3上
var filePath = await ImagePickerSaver.saveFile(fileData: data);
这行代码执行完,没有继续向下执行,图片保持了,但是没法取到filePath

@sec7et
Copy link

sec7et commented Jun 22, 2020

我也发现了这个问题,测试设备是 iOS 13.4.1 ,同样是图片能成功保存到本地,但是会输出filePath为null

@kodi
Copy link

kodi commented Nov 10, 2020

It's not even that path is null, it's worse, the whole call is blocking.

END is never logged.

        log('PRE RESPONSE');
        var response = await http.get(_campaign.creatives[0].assets[0].url);
        log('POST RESPONSE');

        String path = await ImagePickerSaver.saveFile(fileData: response.bodyBytes);

        log('END'); 

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

3 participants