-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Taro H5 (chooseMedia、chooseVideo)在iOS没有上传成功/失败的回调!!! #16929
Comments
Winner-Wei
changed the title
Taro H5 chooseMedia在iOS没有上传成功/失败的回调!!!
Taro H5 (chooseMedia、chooseVideo)在iOS没有上传成功/失败的回调!!!
Nov 25, 2024
IOS公众号没有提供这个接口, 可以用input原生方法实现 |
这个api在h5的情况下是有兼容问题,ios可以,安卓调不起系统相册 |
但是taro文档上说的这个api支持h5,但是貌似确实有兼容问题,希望能统一能调起系统相册,我是ios能调起相册,而安卓系统不行 |
This was referenced Nov 30, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
H5
浏览器版本: Chrome 已是最新版本 版本 131.0.6778.86(正式版本) (x86_64)
使用框架: Vue 3
复现步骤
Taro.chooseMedia({
count: multiple.value ? maximum.value - fileListData.value.length : 1,
mediaType: ['image','video'],
sourceType: ['album', 'camera'],
camera: 'back',
success: (res) => {
console.log(res)
}
fail: () => {},
})
就这个代码,在ios不行,安卓可以
期望结果
taro H5 在ios上能够和安卓保持一致,能够上传视频!!!
实际结果
ios在上传视频时没有成功和失败的回调,什么信息都没有返回,浏览器可以,安卓也可以!!!
环境信息
补充信息
希望看到尽快联系我,升级taro这是第三次了, 还是没成功,加急!!!
The text was updated successfully, but these errors were encountered: