Post

Bringing MeshGradient from SwiftUI to React Native 🌈 Built with @expo.dev Modules and not yet announced feature in SDK 52 that allows to embed any SwiftUI view into RN app šŸ“² Implemented with the New Architecture in mind šŸ›ļø Demo built with @swmansion.com Reanimated and Gesture Handler šŸ’œ

It depends. If we really want to, mesh gradient can be implemented on Android using shaders, it's just a bit more work than with SwiftUI. We're also looking into how to support Jetpack Compose, which is quite similar to SwiftUI.

0 reposts1 like

There are already many APIs that aren't cross-platform and it's ok. In some cases you would be fine with having the mesh gradient as a background on iOS and just a solid color on Android. Even though you use a cross-platform framework, the app doesn't always look the same and doesn't have to.