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

Sharing a Texture2D on Android always uses the same thumbnail #55

Closed cbauch closed 5 years ago

cbauch commented 5 years ago

It seems like sharing a texture uses the same filename every time. The thumbnail used for a shared image in a text message always uses the same thumbnail from the first share. Either adding an optional file name to the interface or generating unique filenames (such as appending a timestamp) every time a texture is shared would solve this issue. Currently, a workaround requires saving the texture as a file (which requires additional app permissions) then sharing it from there.

olokobayusuf commented 5 years ago

Fixed by #49