安卓手机,点击保存图片后,获取的临时图片路径后缀为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
你这个和微信版本无关,自查一下Content-Type的问题