th3rdwave / react-native-safe-area-context

A flexible way to handle safe area insets in JS. Also works on Android and Web!
MIT License
2.14k stars 197 forks source link

fix: use kotlin compatible getType #507

Closed WoLewicki closed 3 months ago

WoLewicki commented 3 months ago

Summary

PR adding compatibility for RN 0.75.0-rc.2. Since Dynamic class has been migrated to Kotlin: https://github.com/facebook/react-native/blob/e320ab47cf855f2e5de74ea448ec292cf0bbb29a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/Dynamic.kt, the name of function to use is strictly getType. It is compatible with previous versions so should be safe to just merge.

Test Plan

janicduplessis commented 3 months ago

Thanks!