React-native-image-crop-picker: Nothing opens or shows on simulator

Created on 25 Aug 2020  路  13Comments  路  Source: ivpusic/react-native-image-crop-picker

HIi @ivpusic , I am facing this issue on iOS where nothing happens when clicking on the button, I have confirmed that button is being clicked and all other code is running but nothing with picker.
Some help would be appreciated! Thanks.

Version

  • react-native-image-crop-picker "^0.33.1"
  • react-native "0.62.2"

Platform

  • iOS

Expected behaviour

  • Picker/Gallery should open up

Actual behaviour

  • Nothing opens up, and no logs in terminal

Most helpful comment

@standreinmcp Just to make sure, did you follow these steps:

  1. Uninstall [email protected]
  2. Do pod install in the ios folder
  3. Install [email protected]
  4. Do pod install again in the ios folder

All 13 comments

I get the same behaviour

Have you tried downgrading to [email protected]? It worked for me. It's most likely a regression introduced by #1354.

@mitjnextt did you have the following when you run pod install?

[!] [Xcodeproj] Generated duplicate UUIDs:

PBXFileReference -- Pods.xcodeproj/mainGroup/children/children:children:|,|,|,|,|,displayName:CocoaAsyncSocket,isa:PBXGroup,name:CocoaAsyncSocket,path:CocoaAsyncSocket,sourceTree:,,children:|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,displayName:CocoaLibEvent,isa:PBXGroup,name:CocoaLibEvent,path:CocoaLibEvent,sourceTree:,,children:|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,displayName:DoubleConversion,isa:PBXGroup,name:DoubleConversion,path:DoubleConversion,sourceTree:,,children:|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,displayName:Flipper,isa:PBXGroup,name:Flipper,path:Flipper,sourceTree:,,children:|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,|,displayName:Flipper-DoubleConversion,isa:PBXGroup,name:Flipper-DoubleConversion, ...

@ktomi42 Yes! Also, @christiandrey I tried downgrading, still not working

@standreinmcp it seems the problem is with
s.dependency 'TOCropViewController'

check this out:
https://github.com/ivpusic/react-native-image-crop-picker/issues/1359#issuecomment-666333218

but I still could not make it work :(

@standreinmcp Just to make sure, did you follow these steps:

  1. Uninstall [email protected]
  2. Do pod install in the ios folder
  3. Install [email protected]
  4. Do pod install again in the ios folder

I can confirm I was having the same issue on 0.33.1 and reverting to 0.33.0 has fixed it for me.

I noticed it wouldn't open until I edited a few things on the form it was in, but honestly I don't know enough about the deep internals of how this stuff works to be able to provide much more than "it didn't work until I typed some text in two fields and then it would work fine."

I did have it opening from within a deep navigation screen in a stack navigator modal if that helps at all.

As for the Podfile warnings, I just added this to my Podfile. The linked issue is where I found this.

# @see https://github.com/ivpusic/react-native-image-crop-picker/issues/680
install! 'cocoapods', :deterministic_uuids => false

@christiandrey It worked! Yeah, I had to redo the install with the 0.33 version. Thanks!

help!
react-native "0.63.2"
react-native-image-crop-picker "^0.33.1" no work, down to "^0.33.0" still no work

^0.33.0 will install 0.33.1, you need to have it fixed at 0.33.0 (remove the caret, ^, before installing).

Thank you @ivpusic and everyone

I can confirm I was having the same issue on 0.33.1 and reverting to 0.33.0 has fixed it for me.

I noticed it wouldn't open until I edited a few things on the form it was in, but honestly I don't know enough about the deep internals of how this stuff works to be able to provide much more than "it didn't work until I typed some text in two fields and then it would work fine."

I did have it opening from within a deep navigation screen in a stack navigator modal if that helps at all.

As for the Podfile warnings, I just added this to my Podfile. The linked issue is where I found this.

# @see https://github.com/ivpusic/react-native-image-crop-picker/issues/680
install! 'cocoapods', :deterministic_uuids => false

Thanks @DaneEveritt
I was facing that warning Generated duplicate UUIDs while pod install, and this code helped

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fmcruz picture fmcruz  路  3Comments

sergiulucaci picture sergiulucaci  路  3Comments

JodiWarren picture JodiWarren  路  3Comments

DISKONEKTeD picture DISKONEKTeD  路  3Comments

victorwpbastos picture victorwpbastos  路  3Comments