folly::toJson when wrapping <View> around <GLView> (AR)

Whenever I try to just wrap a <View> around <GLView/> using an AR camera session I get:

It would be nice to be able to put more than just a GLView on my iPhone screen.

Hi! Sorry about this. Do you think you could provide a minimal example on Snack? Thanks!

Here you go:

cc: @nikki any ideas?

The View here will be of zero size, try using flex: 1 in it, like here:

But yeah, this shouldn’t cause a native error, will work on fixing that.

No way! Aw man I tried doing that on the view and then the GLView but didn’t do it to both!

Thanks for the assistance with this one!

No worries. :slight_smile: Also guarding against the native error in this update and released a new version on npm: