canvas icon indicating copy to clipboard operation
canvas copied to clipboard

Error in Android real device

Open vallemar opened this issue 1 year ago • 1 comments

I'm trying to recreate this animation but I'm having errors on a real Android device. https://codepen.io/towc/details/yNywmX

In my simulator it looks like this. Also the FPS remains at 30

https://github.com/NativeScript/canvas/assets/15719383/a8e92366-19a2-4877-83ac-93e90ba4edf0

And on a real device like this.

https://github.com/NativeScript/canvas/assets/15719383/7bae614c-52ae-4564-8554-c5408ee4cb0e

My phone is a xiaomi 12 T pro. This is my repo, branch android-real-device-error: https://github.com/vallemar/nativescript-canvas-vue/tree/android-real-device-error

Update: On android using pixels I have raised the fps to 60, but I still have the same problem on the real device

 var w = Utils.layout.toDevicePixels(c.getActualSize().width),
    h = Utils.layout.toDevicePixels(c.getActualSize().height),

vallemar avatar Jan 29 '24 23:01 vallemar

Can you give this another try?

triniwiz avatar Aug 22 '24 11:08 triniwiz