0.27 - AmityCoreClient.newFileRepository().uploadVideo(video)

How can I know if the upload was completed?

Hello, you should be able to check the vdo uploading completion here: https://docs.amity.co/core-concepts/files-images-and-videos/video-handling#upload-videos

It was working on 0.26
and not on 0.27

Hello, I’ve forwarded this to the team for further investigation. In the meantime, please feel free to revert to the previous version. Thank you for your patience. :pray:

Hello, we have made updates to the code due to changes in version 0.27, please review: Video Handling - Amity Docs :pray:

Thanks its working
it is not await Future function, So I hade to add waiting delay like

      while (!uploadDone) {
        await Future.delayed(const Duration(milliseconds: 10), () {});
1 Like