Comments (9)
I didn't notice a lag while testing it myself. I'm unsure about the cause of this issue. Will keep you updated if I find something new.
from unitynativegallery.
Ok Thank you
from unitynativegallery.
Any solution for this issue?
from unitynativegallery.
If you just take a screenshot but don't call any NativeGallery functions afterwards, does it still freeze for 5 seconds initially?
from unitynativegallery.
How to take screenshot without NativeGallery functions?
from unitynativegallery.
Call the following function like this: StartCoroutine( TakeScreenshotDontSave() );
private IEnumerator TakeScreenshotDontSave()
{
yield return new WaitForEndOfFrame();
Texture2D ss = new Texture2D( Screen.width, Screen.height, TextureFormat.RGB24, false );
ss.ReadPixels( new Rect( 0, 0, Screen.width, Screen.height ), 0, 0 );
ss.Apply();
// To avoid memory leaks
Destroy( ss );
}
from unitynativegallery.
Still iam not tried..I will try it and tell you.
from unitynativegallery.
Iam using button click to taking screenshot.When i click the button after new installation of my app and click a button to take screenshot it was asking permission using dialog.Is it anyway to get permission instead of while taking screenshot operation was going on.
from unitynativegallery.
Of course! You can use the NativeGallery.RequestPermission()
function.
from unitynativegallery.
Related Issues (20)
- LoadImageAtPathAsync crash HOT 3
- IOS 17 - WhatsApp videos HOT 7
- Undefined symbols for architecture arm64 HOT 2
- NativeGallery.GetImageFromGallery Not working on Windows HOT 1
- Is there any way for me to display a dialog box asking for permission to access the album? HOT 1
- Unity Android Playform Build 'UnauthorizedAccessException' cant read file path is denied HOT 2
- v1.7.9 ERROR com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable HOT 2
- VisionOS Support for VisionOSVideoComponent HOT 30
- Where does the screenshot go when using the editor?
- Unity 2023 support HOT 5
- When the Android phone pops up to confirm the authorization, click Allow and get stuck. HOT 10
- iOS Ad Privacy Manifest HOT 1
- Can't open *.heic files HOT 8
- DirectoryNotFoundException: Could not find a part of the path "/storage/emulated/0/Android/data HOT 2
- SaveAudioToGallery method is private HOT 1
- iOS GetImageFromGallery show all photos event if PHAuthorizationStatusLimited HOT 2
- Unable to Save Images/Videos (IOS) HOT 2
- How to disable permission request on launch and instead use Runtime permissions HOT 2
- Plugin is not working for android 13 and above HOT 4
- When I use the AR camera I can't use the method "GetImageFromGallery" to select the picture, and call back is null HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unitynativegallery.