react-native-wechat-lib icon indicating copy to clipboard operation
react-native-wechat-lib copied to clipboard

iOS端使用shareLocalImage分享图片出错

Open haobrother opened this issue 3 years ago • 0 comments

iOS下使用shareLocalImage方法分享图片时报错如下 Possible Unhandled Promise Rejection (id: 1): Error: shareLocalImage: ImageUrl value, Could not find file suffix. Error: shareLocalImage: ImageUrl value, Could not find file suffix.

单看图片路径好像是正常的,图片是使用"@react-native-community/cameraroll"的CameraRoll.save方法保存的,保存出来的路径类似:ph://603275C3-BCF8-4566-909D-7A26C2D47C82/L0/001

PS:安卓下不报错。

haobrother avatar Nov 13 '20 09:11 haobrother