gre / gl-react

gl-react – React library to write and compose WebGL shaders

Home Page:https://gl-react-cookbook.surge.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

upside down issue on iOS device

JinHoSo opened this issue · comments

_bug report

library version

"gl-react": "^3.16.0-beta.e4f3431c",
"gl-react-native": "^3.16.0-beta.e4f3431c",
"react-native-webgl": "^0.8.0",

Expected behavior

It should show image on iOS device and simulator both

Actual behavior

It only shows the image on iOS simulator, when running on device it show black screen

Steps to reproduce the behavior

  1. It only shows the image {{uri:'image-path'}} on iOS simulator, but iOS device
  2. I tried to change {{{uri:'image-path'}} to {{image:'image-path'}}, it shows the image on iOS device and simulator, but there is upside down issue.

2018-08-27 11 17 01

Sorry, I guess this issue is related with 'react-native-webgl'