giautm / expo-signature

Expo Signature Pad
3 stars 1 forks source link

Lag on Android #1

Open giautm opened 6 years ago

ymahnovskyy commented 6 years ago

Do you have some plans to work on this issue? and whole component?

giautm commented 6 years ago

Yah, sorry. This issue belongs to Expo WebGL on Android, and I can't fix. :( I will back to this project if Expo fixed that issue.

ymahnovskyy commented 6 years ago

Hello! Thank you for response. Now as I see performace is enough on my android phone (Moto X Play) on Expo 24.0.0 also as I see https://blog.expo.io/expo-sdk-v26-0-0-is-now-available-2be6d9805b31 in section "New APIs and performance improvements for GLView" there is info about some performace improvements.

giautm commented 6 years ago

@ymahnovskyy : Hi, thank you for your attention. I discovered there were a few issues with WebGL on Android devices. Try some examples of Expo on android, press back button to put the application in the background, and come back later. The WebGL screen is blank and unresponsible because WebGL lost the context with OpenGL when the application was running in the background.

I think this behavior is less likely to occur in the real world, for the business I need the signature. So I will spend some time to get back to the project next week.

Thank you. :)

ymahnovskyy commented 6 years ago

Hm, I saw this behavior, thought that is some kind of feature and we need it redraw manually (for e.g. for screen orientation change). I want to try ExpoPixi (https://github.com/expo/expo-pixi) But there is allso issues on Android (https://github.com/expo/expo/issues/1371)