Skip to content

feat: Integrate @maniac-tech/react-native-expo-read-sms at 9.1.2 on Expo SDK 53#24

Open
maniac-tech wants to merge 5 commits intomasterfrom
sdk-53
Open

feat: Integrate @maniac-tech/react-native-expo-read-sms at 9.1.2 on Expo SDK 53#24
maniac-tech wants to merge 5 commits intomasterfrom
sdk-53

Conversation

@maniac-tech
Copy link
Copy Markdown
Owner

@maniac-tech maniac-tech commented Mar 4, 2026

Summary

Verification branch for react-native-expo-read-sms PR #99 — confirms the library at 9.1.2 builds and runs correctly on Expo SDK 53 / React Native 0.79.


Changes

package.json

  • Upgraded @maniac-tech/react-native-expo-read-sms: 8.0.2-alpha^9.1.2
  • Upgraded expo: ^51.0.0^53.0.0
  • Upgraded react-native: 0.74.30.79.6
  • Upgraded react: 18.2.019.0.0 (RN 0.79 requires React 19)
  • Upgraded expo-dev-client: ~4.0.19~5.2.4 (fixes isRemoteJSDebugEnabled removed in RN 0.79)
  • Upgraded expo-splash-screen: ~0.27.5~0.30.10
  • Upgraded expo-status-bar: ~1.12.1~2.2.3
  • Upgraded expo-build-properties: ~0.12.3~0.14.8
  • Added expo-asset: ~11.1.7 — explicit dep required for autolinking to register the ExpoAsset native module
  • Removed: react-native-paper, react-native-web, react-dom, expo-updates
  • Renamed package: exporeadsms-testexpo-read-sms-test-app

app.json

  • Added explicit sdkVersion: "53.0.0"
  • Fixed android.permissions — now correctly declares RECEIVE_SMS and READ_SMS (was empty [])
  • Bumped compileSdkVersion / targetSdkVersion: 3435 (required by core-splashscreen:1.2.0-alpha02 pulled in by expo-splash-screen ~0.30.x)
  • Bumped minSdkVersion: 2324 (RN 0.79 dropped Android 6 / API 23 support)
  • Added expo-asset config plugin entry
  • Removed OTA updates config (expo-updates plugin, runtimeVersion, extra.eas)
  • Removed iOS and web targets (Android-only test app)

App.js

  • Full rewrite: replaced react-native-paper UI with a minimal plain React Native UI
  • Directly calls all four library APIs and logs results on-screen:
    • checkIfHasSMSPermission() — displays both permission flags
    • requestReadSMSPermission() — triggers system dialog, then re-checks status
    • startReadSMS(callback) — starts listener; logs received SMS body
    • stopReadSMS() — stops listener; confirms via log
  • Removed useApp hook dependency (previously coupled to old UI)

Build Issues Encountered & Resolved

Error Root cause Fix
expo-modules-autolinking path not found Stale android/ from old SDK expo prebuild --clean
react@"^19.0.0" peer dep conflict RN 0.79 requires React 19 react: "19.0.0"
core-splashscreen requires compileSdk ≥ 35 expo-splash-screen ~0.30.x pulls newer splashscreen compileSdk/targetSdk: 34 → 35
minSdkVersion 23 < 24 manifest merge failure RN 0.79.6 dropped API 23 minSdkVersion: 23 → 24
expo-dev-menu compile error (isRemoteJSDebugEnabled unresolved) expo-dev-client ~5.0.7 targets SDK 52/RN 0.76 expo install~5.2.4
Cannot find native module 'ExpoAsset' expo-asset not installed (skipped by npm during clean install) expo install expo-asset

Testing

Property Value
Expo SDK ~53.0.0
React Native 0.79.6
React 19.0.0
Library version ^9.1.2
New Architecture Off (default for SDK 53 existing projects)
Android compileSdk / targetSdk 35
Android minSdk 24

Verification Checklist

  • App builds without errors (npx expo prebuild + npx expo run:android succeed)
  • App launches on device/emulator
  • checkIfHasSMSPermission() — returns correct { hasReadSmsPermission, hasReceiveSmsPermission } object
  • requestReadSMSPermission() — system dialog appears; returns true when granted
  • startReadSMS(callback) — starts without error; callback fires with status === "success"
  • Incoming SMS received — callback delivers correct [phoneNumber, messageBody] values
  • stopReadSMS() — stops listener; no further callbacks after stopping
  • No NativeEventEmitter warnings in console

Related

- expo: ^53.0.0, react-native: 0.79.6, react: 19.0.0
- expo-dev-client: ~5.2.4 (fixes isRemoteJSDebugEnabled removal in RN 0.79)
- expo-splash-screen: ~0.30.10, expo-build-properties: ~0.14.8
- expo-asset: ~11.1.7 (explicit dep required for autolinking ExpoAsset)
- compileSdk/targetSdk: 35 (required by core-splashscreen 1.2.0-alpha02)
- minSdk: 24 (RN 0.79 dropped Android 6 support)
@maniac-tech maniac-tech changed the title Sdk 53 feat: Integrate @maniac-tech/react-native-expo-read-sms at 9.1.2 on Expo SDK 53 Mar 4, 2026
@maniac-tech maniac-tech self-assigned this Mar 4, 2026
@maniac-tech maniac-tech added enhancement New feature or request good first issue Good for newcomers labels Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request good first issue Good for newcomers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant