I added this package and link react-native-webgl.
after that i got build error so thats why i made changes in Application.mk file inside node_modules/react-native-webgl/android/src/main/jni which are following
APP_BUILD_SCRIPT := Android.mk
APP_ABI := armeabi-v7a x86
APP_PLATFORM := android-16 // <<<<< HERE
APP_MK_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
NDK_MODULE_PATH:=.$(HOST_DIRSEP)$(THIRD_PARTY_NDK_DIR)
APP_STL := c++_shared . // <<<<<<<<<< HERE
APP_CPPFLAGS := -std=c++11 -fexceptions -pthread
# Make sure every shared lib includes a .note.gnu.build-id header
APP_LDFLAGS := -Wl,--build-id
APP_LDFLAGS += -llog
APP_LDFLAGS += -lGLESv2
APP_LDFLAGS += -pthread
APP_LDFLAGS += -ljnigraphics
# NDK_TOOLCHAIN_VERSION := 4.9 // <<<<<<<< HERE
I'm building image editing app with instagram like filters and for that i used
package.json :-
I added this package and link react-native-webgl. after that i got build error so thats why i made changes in Application.mk file inside node_modules/react-native-webgl/android/src/main/jni which are following
in app/build.gradle
After that i got successful build.
then i write my code inside these file Filter.js