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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIA3NUYAAd1QgUwAAAAASUVORK5CYII=
Which is a black screen if I convert it to image
from react-native-skia.
from react-native-skia.
working .
I have called the function like this:
const copyFrameOnAndroid = (current_Frame) => {
runOnUI(() => {
'worklet';
if (Platform.OS === "android") {
const tex = current_Frame.value;
if (tex) {
currentFrame.value = tex.makeNonTextureImage();
tex.dispose();
}
}
})();
};
copyFrameOnAndroid(currentFrame);
from react-native-skia.
🎉 This issue has been resolved in version 1.3.7 🎉
The release is available on:
Your semantic-release bot 📦🚀
from react-native-skia.
Related Issues (20)
- Taking a screenshot on the Android's webView shows a black screen. HOT 8
- Box is missing from sidebar HOT 2
- Creating Image from Uint8Array HOT 2
- Packaged fonts show as system fonts on iOS but not Android HOT 2
- Sampling issue with WebP HOT 2
- Android release apk crash HOT 11
- Snapshot View with react-native-svg inside
- "Timed out waiting for modules to be invalidated" error after reloading app over metro [iOS] HOT 14
- Animations Colors gives when running jest (0 , _interpolate.interpolate) is not a function HOT 7
- "useVideo" not an exported member from @shopify/react-native-skia HOT 7
- Low Atlas performance on cheap Androids HOT 4
- Android build apk is crashing on release mode HOT 2
- Paragraph Bounding Box calculation is inaccurate HOT 4
- Typescript errors when trying to compile with tsc HOT 5
- Atlas Opacity
- no type named 'BigInt' in namespace 'facebook::jsi' Android and iOS HOT 2
- RN 0.74.3 - Android building issue
- Video seek (Android) issue HOT 2
- currentTime and video playback time are inconsistent HOT 3
- CornerPathEffect for web HOT 2
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 react-native-skia.