flutter_photo_manager icon indicating copy to clipboard operation
flutter_photo_manager copied to clipboard

[Bug report] Save LivePhoto failed on iOS

Open coronoal opened this issue 1 year ago • 1 comments

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

coronoal avatar Oct 22 '23 14:10 coronoal

Hello, is there any progress on this issue, thank you

coronoal avatar Dec 29 '23 15:12 coronoal