react-native-image-tools icon indicating copy to clipboard operation
react-native-image-tools copied to clipboard

App crashes while opening the editor

Open olasfar opened this issue 7 years ago • 5 comments

capture d ecran 2017-09-11 a 23 06 09

*** Terminating app due to uncaught exception 'NSGenericException', reason: '*** Collection <__NSCFSet: 0x60800025a3a0> was mutated while being enumerated.'

Not familiar with objective-c please help!!

Thx

olasfar avatar Sep 11 '17 21:09 olasfar

@olasfar This repo is dead. The author does not care anymore. I tried reaching him even via twitter. But to no avail. God bless us now!

srameshr avatar Sep 15 '17 17:09 srameshr

Shit.. Why not deleting this repo in this case ? Anyways I'm not using this repo anymore.. Thx @srameshr for your answer 👍

olasfar avatar Sep 16 '17 22:09 olasfar

@olasfar Any other image editor that you are using?

srameshr avatar Sep 17 '17 07:09 srameshr

To anyone still having this problem, I found that wrapping editorInit with dispatch_async(dispatch_get_main_queue(), ^{…}); fixes this.

I was going to create a fork with the fix, but found one that already exists (cheers to @ivanbekker for that 🍺 )

https://github.com/ivanbekker/react-native-image-tools

axxag avatar Oct 02 '17 15:10 axxag

@agentilela Great! Il use his fork

srameshr avatar Oct 03 '17 03:10 srameshr