收藏
回答

安卓手机,wx.getImageInfo返回的图片临时路径后缀为.unknown

框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug wx.getImageInfo 微信安卓客户端 8.0.27 2.25.4

安卓手机,点击保存图片后,获取的临时图片路径后缀为unknown,导致保存图片到本地失败,返回的图片的type是对的

有问题的安卓手机系统信息如下:

abi: "arm64-v8a"
benchmarkLevel: -1
bluetoothEnabled: false
brand: "HONOR"
cameraAuthorized: true
deviceAbi: "arm64-v8a"
deviceOrientation: "portrait"
devicePixelRatio: 3
enableDebug: true
errMsg: "getSystemInfo:ok"
fontSizeScaleFactor: 1
fontSizeSetting: 16
host: Object {env: "WeChat", version: 671095607}
language: "zh_CN"
locationAuthorized: true
locationEnabled: true
microphoneAuthorized: true
mode: "default"
model: "ELZ-AN00"
notificationAuthorized: true
phoneCalendarAuthorized: true
pixelRatio: 3
platform: "android"
safeArea: Object {width: 352, right: 360, top: 36, le...
screenHeight: 792
screenTop: 0
screenWidth: 368
SDKVersion: "2.25.4"
statusBarHeight: 36
system: "Android 12"
version: "8.0.27"
wifiEnabled: true
windowHeight: 739
windowWidth: 368
最后一次编辑于  2022-08-25
回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容