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:
https://snack.expo.io/BJCiBj1yM

cc: @nikki any ideas?

The View here will be of zero size, try using flex: 1 in it, like here: https://snack.expo.io/BkNaamZyG

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: https://github.com/expo/expo-three/commit/3d111e1695e65f04b0a08f6047e14059796b6617