Skip to content

doesn't seem to be linked. #2

@Fudci

Description

@Fudci

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions