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

[Feature]: 关于ios/mac下编译运行问题 #70

Closed
tangyiyong opened this issue Sep 22, 2023 · 2 comments
Closed

[Feature]: 关于ios/mac下编译运行问题 #70

tangyiyong opened this issue Sep 22, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@tangyiyong
Copy link

tangyiyong commented Sep 22, 2023

PicHoro的版本

v2.2.2

系统信息

iphone12pm

功能请求

首先这是一个很棒的项目,谢谢分享。
我最近在找七牛云的flutter接口,搜到这个项目,打算在ios上运行,这个项目正好支持七牛云、阿里云等接口,就重新整理了一下插件的依赖关系,编译了一下;可以编译通过,生成ipa/app文件;但是调试运行后显示错误,简单debug后发现以下可能的两个问题:

1: mainInit() 开始的permission_handler权限检查部分,android、windows和ios、mac处理方式不一样;
2: external_path只支持android,考虑同时支持ios/mac的话,可能要用path_provider替换(这个插件支持android/ios/mac/windows/linux),并且可能要重新划分文件存储的方式;毕竟anrdoid和ios下文件目录结构差异比较大;

编译平台是flutter 3.13.5,m1 macos 13.5.2, ios 17.0.1. xcode 15.

@tangyiyong tangyiyong added the enhancement New feature or request label Sep 22, 2023
@Kuingsmile
Copy link
Owner

由于我没有苹果电脑/手机,没法做调试,所以这个项目一开始写的时候就没有考虑对ios的适配哈

@tangyiyong
Copy link
Author

明白,那我自己fork个分支尝试修改一下看看

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

No branches or pull requests

2 participants