Skip to content
This repository has been archived by the owner on Jan 1, 2020. It is now read-only.

Latest commit

 

History

History
executable file
·
24 lines (15 loc) · 1016 Bytes

README.md

File metadata and controls

executable file
·
24 lines (15 loc) · 1016 Bytes

react-native-webgl is deprecated

Since react-native-unimodules was introduced we can now use Expo modules like expo-gl which is where the webgl implementation has been continued and is actively maintained.

We therefore recommend you now move to use expo-gl:

You will need a react-native-unimodules setup

yarn add react-native-unimodules

If it's the first time you install react-native-unimodules, you will have to carefully follow the documentation to configure your project: configure unimodules (if not yet done)

You can then install expo-gl dependencies:

yarn add expo-gl expo-gl-cpp

If you use gl-react-native

Upgrade to latest version of gl-react-native that now depends on expo-gl and expo-gl-cpp (you don't need to install it, it also won't depend on this package anymore).