Automatically determine whether update is native incompatible

Hey all,

Our apps recently have an issue because we publish a native-incompatible OTA update to our user. (For those who are curious, the updates is a switch to use this library: GitHub - satya164/react-native-tab-view: A cross-platform Tab View component for React Native)

We found a short term solution by creating a script that will increment runtimeVersion in app.json for every native-incompatible update. The only problem is the process of “detecting native-incompatible update” is still manual and possibly prone to error.

Is there a way to automatically detect whether an update is native-incompatible? If we are using bare RN I guess we could determine this by checking whether android or ios folder changes, but I’m not quite sure how to do this in Expo way.