yasirkula
yasirkula
That's sad to hear. I think "Private Access to Photo" is the [iOS 14 privacy change](https://developer.apple.com/documentation/photokit/delivering-an-enhanced-privacy-experience-in-your-photos-app), just relabeled. I'll google the error message but usually they don't lead to anywhere...
I've googled the error message but the results weren't related to Photos unfortunately (do let me know if you find different results). Can you test the other things I've mentioned...
I don't plan to support other platforms.
Asset Store version doesn't include this fix so can you update from GitHub instead? https://github.com/yasirkula/UnityNativeGallery?tab=readme-ov-file#installation I'll update Asset Store soon. PS. You're already copying the image to persistentDataPath so you...
Also I'd recommend using UnityWebRequestTexture because that's what Unity recommends over WWW, as well. PS. Actually use NativeGallery.LoadImageAtPath instead (it has an async variant as well) because it supports more...
I wonder if there are related error logs in logcat. And may I see your code?
After this error occurs, file is copied to temporaryCachePath and its path is returned instead: https://github.com/yasirkula/UnityNativeGallery/blob/4d27475bed66d56aca8b7d585b98fe503525e593/.github/AAR%20Source%20(Android)/java/com/yasirkula/unity/NativeGalleryMediaPickerResultOperation.java#L166 Are you not receiving a path at all? If so, are there other error...
@ayob-aazami Try this in Awake: ```csharp #if !UNITY_EDITOR && UNITY_ANDROID using( AndroidJavaClass ajc = new AndroidJavaClass( "com.yasirkula.unity.NativeGalleryMediaPickerFragment" ) ) ajc.SetStatic( "tryPreserveFilenames", true ); #endif ``` Though read the comment first:...
I've found out that it's changed here: https://github.com/yasirkula/UnityNativeGallery/commit/245bc06b0142e7c59a239aea3db5695ae5ad0e29. The commit message could have been nicer. I can't fully remember the reason but it was either related to a crash or...
Hi, you can crop either programmatically (google) or via [ImageCropper](https://github.com/yasirkula/UnityImageCropper). NativeGallery doesn't have built-in crop functionality.