flutter_photo_manager
flutter_photo_manager copied to clipboard
[Bug report] Save LivePhoto failed on iOS
Version
2.7.1
Platforms
iOS
Device Model
iPhone 12 (iOS16.6.1)
flutter info
flutter version 3.18.3
How to reproduce?
ios save dynamic graph error. Obtain the data of a local dynamic graph, and then save the dynamic graph according to the obtained data. 4:3 scale photos succeed, others fail
Logs
No response
Example code (optional)
void saveByAssetEntity(AssetEntity assetEntity) async {
// assetEntity is a local dynamic graph
// get file subtypeFile
var file = await assetEntity.originFile;
var subtypeFile = await assetEntity.originFileWithSubtype;
// save to album,equivalent to copying
var result = await PhotoManager.editor.darwin.saveLivePhoto(
imageFile: file!,
videoFile: subtypeFile!,
title: 'IMG_123',
);
// when the picture scale is 4:3, success
// but 1:1 16:9, fail
}
Contact
No response
Hello, is there any progress on this issue, thank you