Comments (32)
@nomi9995
it's working!! thank you!!
from react-native-compressor.
@moowoonsunghoon sorry for that. react-native-compressor>=1.0.0 is for [email protected]
you can use 0.5.6
version for the compressor
yarn add [email protected]
after this please do Invalidate Caches / Restart
from android studio
from react-native-compressor.
@moowoonsunghoon i will update documentation soon
from react-native-compressor.
@DavidGonzalezGutierrez can you try this solution uuidjs/uuid#416 (comment)
import 'react-native-get-random-values';
in index.js or App.js file
let know if it fixes it. I will make this one as a part of this package
from react-native-compressor.
Yes, It works!
from react-native-compressor.
@DavidGonzalezGutierrez I also have published a new version 1.0.3
of the compressor where I added above fix
from react-native-compressor.
Nice work!
from react-native-compressor.
@nomi9995 Hello, When I use minimumFileSizeForCompress in video it changes the file format and didn't upload with the error TypeError: Network request failed
"react-native-compressor": "^0.5.17",
"react-native": "0.64.2",
It perfectly works on images but didn't work on video
from react-native-compressor.
It worked. Thank you!! :)
from react-native-compressor.
@rnqayush I think this error is not from the compressor package.
i think it is from https://github.com/uuidjs/uuid#getrandomvalues-not-supported
can you provide reproducible example repo? so I can see it
from react-native-compressor.
@nomi9995 thanks for you response, actually i have tested this after removing this video compressor code then it works fine but after implementing this code i get this error.
from react-native-compressor.
@nomi9995 i made a fresh react native project and then installed this package. unfortunately i am getting error kindly look on it and suggest some idea to resolve it. also i am sharing the github repo.
GitHub: https://github.com/rnqayush/react-native-video-compressor
from react-native-compressor.
@rnqayush Actually this is due to jcenter, many libraries which were published on jcenter having this issue. we should have to publish all libraries to mavenCenter. I will create a ticket on mavenCenter
so our library may not be down
https://developer.android.com/studio/build/jcenter-migration
from react-native-compressor.
@nomi9995 thanks a lot for your response, kindly let us know when it is expected to be updated.
from react-native-compressor.
@rnqayush actually I did not publish the library on mavenCenter before. I am going to make a ticket on mavenCenter and then d that the community will review the ticket and then will publish or reject it. it depends on the community review.
from react-native-compressor.
@nomi9995 sure thankyou .
from react-native-compressor.
also @nomi9995 do it will work on ios or there too it can have issues.
from react-native-compressor.
@rnqayush it is specifically for android
from react-native-compressor.
@rnqayush can you try 0.5.3-rc.0
version. it is working on my side
from react-native-compressor.
I am also facing same issue with "react-native-compressor": 0.5.3 and react-native: 0.64.2
[Error: crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported]
from react-native-compressor.
@ymane can you provide reproducible example in git repo because it is not reproducing on my side
from react-native-compressor.
@rnqayush @ymane I just release 1.0.0
can you try the 1.0.0
version
yarn add [email protected]
from react-native-compressor.
i have same issue
from react-native-compressor.
@moowoonsunghoon can you tell me your RN version and compressor version?
from react-native-compressor.
@nomi9995
my version is
react-native: 0.64.1
react-native-compressor: 1.0.1
from react-native-compressor.
Hello!
Same issue on iOS.
React Native version: 0.66.2
React Native Compressor: 1.0.2
from react-native-compressor.
@DavidGonzalezGutierrez can you try this Invalidate Caches / Restart
from android studio
from react-native-compressor.
Yes, but is in iOS.
I clean the build folder in Xcode, and the caches of metro.
But, when I try to compress a video I recieve the error crypto.getRandomValues() not supported.
from react-native-compressor.
When I use UUID version 4 in my app, I always use with DEV because I read the uuidv4 has problems in development mode
from react-native-compressor.
Compress video is not working on android
from react-native-compressor.
Hi I am using "react-native": "0.70.1" and "react-native-compressor": "^1.7.2".
Getting error in build-
- What went wrong:
Could not determine the dependencies of task ':react-native-compressor:compileDebugAidl'.
Could not resolve all task dependencies for configuration ':react-native-compressor:debugCompileClasspath'.
Could not find com.github.numandev1:VideoCompressor:1a262bba37.
Required by:
project :react-native-compressor
from react-native-compressor.
@avyasradicle can you try this code and try to run project
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
from react-native-compressor.
Related Issues (20)
- No ability to select timestamp of video for thumbnail HOT 1
- 压缩后打印出来的本地路径和原路径相同 HOT 4
- Build error at ImageCompressor.swift file - Cannot find 'RCTResizeMode' in scope HOT 2
- IOS Build Error: cannot find React/RCTResizeMode.h' in scope HOT 2
- [Android] backgroundUpload crashes when no uploadType provided HOT 1
- [Android] Compilation failed for task compileDebugKotlin HOT 2
- Question: Is it possible to mirror a video on android using mp4parser in this module?
- Expo go link error HOT 2
- when i upload file using backgroundUpload, the body inside the response is empty [ios] HOT 1
- Android build error HOT 1
- Question: How to upload with Multipart? HOT 3
- Cannot Run in Expo Go HOT 5
- Cancel Upload Throws Error: [Error: Upload Failed]
- Compressed video on Android is not playable on macOS or iOS HOT 8
- RNCompressorSpec.h file not found HOT 1
- Image rotating on iOS (Orientation issue) HOT 2
- on a pixel 7, there is some distortion of an image after compression HOT 2
- [Android] Large Videos (>900MB) cannot be compressed
- The Swift pod `giphy-react-native-sdk` depends upon `glog`, which does not define modules HOT 1
- Fatal error: Unable to bridge NSNumber to Float HOT 1
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-compressor.