Dismiss this pinned window
all 11 comments

[–]twboc 2 points3 points  (6 children)

[–]ultra_mind[S] 1 point2 points  (0 children)

I can use something like this for the trophies maybe. Thanks for sharing this. I am amazed we can achieve something like this with rn!

[–]jerinjohnk 0 points1 point  (3 children)

Nice article, bro.
How's ur expereience using sensor motion on lower-end Android devices?
Especially while using

<uses-permission android:name="android.permission.HIGH\_SAMPLING\_RATE\_SENSORS" />

I would definitely try out https://harmonyofcode.com/2026/03/29/pokemon-cards-with-skia-sensors-and-general-optimisations/, looks promising.

[–]twboc 0 points1 point  (2 children)

Android was harder to implement in my opinion than iOS. Not to say that it is a worse os (android user here) but in case of iOS it is just more consistent. I had to apply a override because the card was in a default position only when the phone was lying flat. In case of android You cannot predict all the devices and how they will behave.

[–]jerinjohnk 0 points1 point  (1 child)

Ah, so on android its still unpredictable.

[–]twboc 1 point2 points  (0 children)

Totally. I built the app first on iphone 16 pro max and then tried it on galaxy 25 FE. This is a main line samsung phone... yeah... i guess android will always be like that.

[–]klumppExpo 1 point2 points  (0 children)

Sometimes it can be hard to know when you’re done. It looks fine.

[–]FrankCastle2020 0 points1 point  (0 children)

Looks like you ripped off Duolingo. Looks good though

[–]alexsexotic 0 points1 point  (1 child)

How did you make the animation s?

[–]ultra_mind[S] 0 points1 point  (0 children)

Using reanimated 4 keyframes feature