Skip to main content

Upgrade to v9.1.x

Overview

v9.1.x adds support for Expo SDK 51–54 and fixes compatibility issues with newer versions of React Native.

What's Changed

  • minSdkVersion raised from 21 to 23 (Android 6.0) — required by React Native 0.74+
  • compileSdk and targetSdkVersion are now dynamic, deferring to your app's values
  • react-native peer dependency changed from * to >=0.73
  • Removed deprecated createJSModules() method

Steps

1. Update the library

npm install @maniac-tech/react-native-expo-read-sms@latest

2. Update app.json

If you are using expo-build-properties, ensure your minSdkVersion is at least 23:

[
"expo-build-properties",
{
"android": {
"minSdkVersion": 23
}
}
]

3. Rebuild

npx expo prebuild --clean --platform android
npm run android

Supported SDK Versions

Expo SDKReact Native
44 – 50Legacy (v9.0.x)
510.74
520.76
530.79
540.81