Malaa-tech / expo-squircle-view

A native implementation for figma corner smoothing (Squircle Shape) for react native expo apps ⏹️
MIT License
52 stars 4 forks source link

New architecture support #3

Closed gorbypark closed 3 months ago

gorbypark commented 3 months ago

Hey, thanks for the great library! I'm just experimenting with it, but it seems it doesn't work on the new rn architecture. Fortunately it doesn't crash or error out or anything, it just seems to my eye to display a regular view with a regular border radius.

Old arch:

Screenshot 2024-08-22 at 10 10 15 AM

New arch:

Screenshot 2024-08-22 at 10 08 44 AM

Code is exactly the same, just toggled on the new architecture in the expo build properties plugin then rebuilt the project (expo/CNG/prebuild).

WadhahEssam commented 3 months ago

thanks for pointing this @gorbypark

it should be now working in 1.1.0

https://github.com/Malaa-tech/expo-squircle-view/releases/tag/1.1.0

if you still have issues with it please let us know 🙏