-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
on android , works fine, but on IOS when compress video ,
Error: Requiring module "node_modules/react-native-lightcompressor/src/index.ts",
which threw an exception: Error: The package 'react-native-lightcompressor' doesn't seem to be linked.
Make sure:
- You have run 'pod install'
- You rebuilt the app after installing the package
- You are not using Expo managed workflow
"react-native": "0.68.2",
This my code :
const dstUrl = await compress({
uri: sourceVideo,
quality: VideoQuality.LOW,
onProgress: (p: number) =>{ setLoading(true); console.log('progress--> ', p)},
onStart: () => console.log('start'),
})
setLoading(false)
console.log({ dstUrl }, 'compression result');
any solutions for that?
Metadata
Metadata
Assignees
Labels
No labels