react-native-lightbox icon indicating copy to clipboard operation
react-native-lightbox copied to clipboard

react-native-router-flux

Open braco opened this issue 10 years ago • 12 comments

Anyone gotten this to work with react-native-router-flux or similar?

braco avatar Feb 29 '16 19:02 braco

I don't have any problems in the latest (0.22) version. Only tested on iOS so far. Maybe implement the new version as well and see if the problem still persists.

basdvries avatar Apr 03 '16 14:04 basdvries

@basdvries - what did you pass in to the navigator prop for <Lightbox>?

rgoldiez avatar Apr 10 '16 01:04 rgoldiez

I'm interested in the solution too

lopezjurip avatar Apr 18 '16 18:04 lopezjurip

+1. What did you pass in Navigator prop? I don't pass any property and when click on Image, Error: "StatusBar.setHidden is not a function"

luisfuertes avatar May 03 '16 10:05 luisfuertes

@luisfuertes you can use this plugin without the need of the navigator. Ignore this prop, it is working just fine.

Your error message is unrelated to the navigator.

It is working for me with RN 0.24. Which version are you on? You could remove this line of code from this module, it isn't mandatory.

ms88privat avatar May 03 '16 12:05 ms88privat

I just upgraded to RN 0.24 ..... I had no issues with the master branch of this repo in both 0.21 and 0.24 .... @ms88privat are you using the master branch or the navigator-refactor branch?

rgoldiez avatar May 03 '16 14:05 rgoldiez

@rgoldiez the standard npm 0.5.1 version

ms88privat avatar May 03 '16 18:05 ms88privat

I had RN 0.20... Ups xD

I upgrade to "react": "^0.14.8", "react-native": "^0.24.1",

And all fine. Thanks!

luisfuertes avatar May 04 '16 08:05 luisfuertes

Is this working for everybody using react-native-router-flux? It's not working for me: versions: "react": "^0.14.8", "react-native": "^0.22.2",

ignoring the navigator-prop results in an empty View-component being rendered

kobePer avatar May 31 '16 09:05 kobePer

Hi @kobePer . I was having the same issue and it was because the Image inside the Lightbox was set to {flex: 1} rather than having a set width and height. Once I gave it an actual width and height it rendered perfectly.

brianfoody avatar Jun 15 '16 13:06 brianfoody

Has anyone gotten this working, I keep getting an error saying "unexpected variable in menu" whenever I install it

nesbtesh avatar Aug 25 '16 17:08 nesbtesh

I got it working under react-native 0.43.3. I just remove "navigator" prop of Lightbox.

deathemperor avatar May 10 '17 08:05 deathemperor