-
Notifications
You must be signed in to change notification settings - Fork 118
Expo Client 2.21.5 (SDK 39) this.nativeVaoExtension.createVertexArrayOES is not a function #187
Comments
Same Problem facing @KBS-devs have you found any solution |
Unfortunalty not. We decided on a work-around and have replaced expo-pixi with react-native-signature-pad for now. |
Same issue since we upgraded to Expo 42 from Expo 39 |
Exactly same issue here, did you find any solution yet ? |
Has anyone found a solution to this? |
|
It seems that pixi is trying to use webgl extensions that expo-gl does not support. I'll look into that more, for now you can use the below workaround, I tested that with Signature but this approach should work with other components class Workaround extends ExpoPixi.Signature {
constructor(props, context) {
super(props, context)
oldOnContextCreate = this.onContextCreate;
this.onContextCreate = (gl) => {
gl.getExtension = () => null;
gl.getSupportedExtensions = () => [];
oldOnContextCreate(gl);
}
}
} |
@wkozyra95 thanks, it works for me! |
Actually, Where do I have to put this code? I am not getting this. |
@viveksc1994 class |
@wkozyra95 |
Same problem, did anyone fix this? |
How can I be sure that this is a legit APK? |
I downloaded the 2.19.6 version from APKPure (a reliable source according to several sources): https://apkpure.com/fr/expo/host.exp.exponent/download/152-APK?from=versions%2Fversion With this version, the error disappeared. |
It depends
|
Hey Guys,
Thanks for this awesome library. We have used it in several projects for signature and sketch features.
Recently expo launced their new client App version 2.21.5 and we now get this error:
this.nativeVaoExtension.createVertexArrayOES is not a function.
We have traced the error to the following file: pixi-gl-core\src\VertexArrayObjects
The issue seems that there are no WebGL extensions on line 19 keeping this.nativeVaoExtension to undefined.
In the previous Expo client this was working perfectly.
Any idea what could cause this to fail on the expo-pixi ?
The text was updated successfully, but these errors were encountered: