Closed choigawoon closed 1 year ago
Plugin simply uses System.IO.File.Exists to check if the destination file exists: https://github.com/yasirkula/UnityNativeShare/blob/a23ce3ea293ceebf4a78ddcbefdcd9591d6e164d/Plugins/NativeShare/NativeShare.cs#L144-L150
I'm not sure why this function returns false for the first path (maybe the file isn't generated yet?) but this isn't related to NativeShare, this is related to System.IO.File.Exists returning false for that path. The second path isn't a raw file path so it isn't supported.
thank you- it's solved now
Description of the bug
A clear and concise description of what the bug is. Before reporting a bug, please do a quick search in Issues to see if it is already reported. If the documentation has a FAQ (Frequently Asked Questions), please also check out the entries there.
i got error message on ios device. should i use temporary path for sharing?
exam1, from persistentPath
exam2, from photolibrary
Reproduction steps
If possible, providing reproduction steps would be very helpful while pinpointing the issue. You can also post screenshots if you think they would be helpful.
Platform specs
Please provide the following info if this is a Unity 3D repository.
Additional info
Please check Logcat (Android) or Xcode console (iOS) for any meaningful error messages and include them here.