Coder Social home page Coder Social logo

Comments (7)

bizarrecoding avatar bizarrecoding commented on June 15, 2024 3

I use this library in conjunction with another that uses TOCropViewController. This library uses CropViewController, which is a swift wrapper for the TOCropViewController, so it generates a second set of duplicated files.

from react-native-multiple-image-picker.

bizarrecoding avatar bizarrecoding commented on June 15, 2024 3

Assuming you use another library using TOCropViewController, you need to patch it to use CropViewController instead.
In the other library podspec:

-  s.dependency 'TOCropViewController'
+  s.dependency 'CropViewController'

And within the library code replace any instance of TOCropViewController import:

-#import <TOCropViewController/TOCropViewController.h>
+#import <CropViewController/CropViewController.h>

with that, both libraries use the same dependency and will not generate duplicate files.

from react-native-multiple-image-picker.

marcos-vinicius-mafei avatar marcos-vinicius-mafei commented on June 15, 2024 1

@baronha, can you take a look at this? Pls!

from react-native-multiple-image-picker.

baronha avatar baronha commented on June 15, 2024 1

I use this library in conjunction with another that uses TOCropViewController. This library uses CropViewController, which is a swift wrapper for the TOCropViewController, so it generates a second set of duplicated files.

Yah sir. This is the right solution for us.
If you need to open the Crop View Controller directly, that's in my TODO list:

Screenshot 2023-11-03 at 13 14 45

from react-native-multiple-image-picker.

marcos-vinicius-mafei avatar marcos-vinicius-mafei commented on June 15, 2024

Same problem here!

from react-native-multiple-image-picker.

marcos-vinicius-mafei avatar marcos-vinicius-mafei commented on June 15, 2024

@minhpd911992, have you found a solution for this?

from react-native-multiple-image-picker.

marcos-vinicius-mafei avatar marcos-vinicius-mafei commented on June 15, 2024

Thank you so much @bizarrecoding!
I will try your solution.

from react-native-multiple-image-picker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.