Open KBS-devs opened 3 years ago
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!
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); } } }
Actually, Where do I have to put this code? I am not getting this.
@viveksc1994 class Workaround
is a wrapper around ExpoPixi.Signature
, so you can put the code anywhere you want and use class Workaround (of course you can change a name) instead of ExpoPixi.Signature
@wkozyra95 Your workaround works with 'Signature' component. But it won't works with 'Expo.Sketch' component. Still thanks for your workaround.
Same problem, did anyone fix this?
@viveksc1994
- Standalone apk is working fine with expo-pixi
- For Android, Issue in expo client - 2.21.4 and 2.21.5. So, Workaround is downgrade expo client 2.19.6 - https://d1ahtucjixef4r.cloudfront.net/Exponent-2.19.6.apk
How can I be sure that this is a legit APK?
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.
Same problem, did anyone fix this?
It depends
expo-gl@11.0.1
(it's tagged as next currently and intended for sdk43) for bare projects, but you will need to switch to the new auto-linking setup (it's possible that updating react-native-unimodules to latest version might also work, but I'm not 100% sure about it)expo build:android
) for sdk43
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 ?