

Resources might be saved only on iCloud to save disk space. Limited access or got deleted in anytime, saveLivePhoto(īe aware that the created asset might have final File imageFile = File( 'path/to/your/livephoto.heic') įinal File videoFile = File( 'path/to/your/livevideo.mp4') įinal AssetEntity ? entity = await. This only works when both image and video file were part of same live photo. Save a live photo from image and video `File`. VideoFile, // You can check whether the file is exist for better test coverage. final File videoFile = File( 'path/to/your/video.mp4') įinal AssetEntity ? videoEntity = await PhotoManager.editor. Path, // Use the absolute path of your source file, it's more like a copy method. final AssetEntity ? imageEntityWithPath = await PhotoManager.editor. Save an existed image to an entity from it's path. Title : 'write_your_own_title.jpg', // Affects EXIF reading. final AssetEntity ? entity = await PhotoManager.editor. Save an image to an entity from `Uint8List`. If your compileSdkVersion or targetSdkVersion is 29, you can consider adding android:requestLegacyExternalStorage="true" to yourAndroidManifest.xml` in order to obtain resources: Which causes the origin resource file not directly On Android 10, Scoped Storage was introduced, If you're not compiling or targeting with 29 and above, you can skip this section.



A Flutter plugin that provides assets abstraction management APIs without UI integration,
