react-native-masked-view / masked-view

React Native Masked View Library
MIT License
974 stars 126 forks source link

feat(#162): fabric support #221

Closed mateusz1913 closed 6 months ago

mateusz1913 commented 7 months ago

Overview

closes #162

👋 this PR introduces Fabric support for MaskedView from RN >= 0.71

List of changes:

Additionally, this PR upgrades RNTA to v3 & RN to v0.73 to make it possible to test the lib when new arch is enabled

Test Plan

  1. Run yarn in the example directory
  2. Test the lib on Android old arch
    • Set the newArchEnabled=false in example/android/gradle.properties
    • Run the app on Android
  3. Test the lib on Android new arch
    • Run the ./gradlew clean in example/android
    • Set the newArchEnabled=true in example/android/gradle.properties
    • Run the app on Android
  4. Test the lib on iOS old arch
    • Install Pods (npx pod-install)
    • Run the app on iOS
  5. Test the lib on iOS new arch
    • Clean the build in XCode
    • Install Pods with RCT_NEW_ARCH_ENABLED flag (RCT_NEW_ARCH_ENABLED=1 npx pod-install)
    • Run the app on iOS