videokit-ai / natshare

Cross-platform social sharing for Unity Engine.
https://github.com/natmlx/videokit
Apache License 2.0
134 stars 28 forks source link

Android API 28 version MediaScanning issue #52

Closed Nerd-Lee closed 5 years ago

Nerd-Lee commented 5 years ago

When video recording is finished with Natcorder. It is stored in the device. And when I run the media scanning plugin, it means that the image file is not displayed in the gallery. Storage is good. There are only problems with media scanning. And this problem only occurs in Android API version 28 or later. I want to know if you are working well. Will it appear right in the gallery after I save it? It seems that the problem is not updating the thumbnail.

olokobayusuf commented 5 years ago

This doesn't sound like it has anything to do with NatCorder. You have to use the SaveToCameraRoll method to copy the video to the gallery.