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
Open
feat: Integrate @maniac-tech/react-native-expo-read-sms at 9.1.2 on Expo SDK 53#24maniac-tech wants to merge 5 commits intomasterfrom
@maniac-tech/react-native-expo-read-sms at 9.1.2 on Expo SDK 53#24maniac-tech wants to merge 5 commits intomasterfrom
Conversation
- 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/react-native-expo-read-sms at 9.1.2 on Expo SDK 53
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Verification branch for
react-native-expo-read-smsPR #99 — confirms the library at9.1.2builds and runs correctly on Expo SDK 53 / React Native 0.79.Changes
package.json@maniac-tech/react-native-expo-read-sms:8.0.2-alpha→^9.1.2expo:^51.0.0→^53.0.0react-native:0.74.3→0.79.6react:18.2.0→19.0.0(RN 0.79 requires React 19)expo-dev-client:~4.0.19→~5.2.4(fixesisRemoteJSDebugEnabledremoved in RN 0.79)expo-splash-screen:~0.27.5→~0.30.10expo-status-bar:~1.12.1→~2.2.3expo-build-properties:~0.12.3→~0.14.8expo-asset: ~11.1.7— explicit dep required for autolinking to register theExpoAssetnative modulereact-native-paper,react-native-web,react-dom,expo-updatesexporeadsms-test→expo-read-sms-test-appapp.jsonsdkVersion: "53.0.0"android.permissions— now correctly declaresRECEIVE_SMSandREAD_SMS(was empty[])compileSdkVersion/targetSdkVersion:34→35(required bycore-splashscreen:1.2.0-alpha02pulled in byexpo-splash-screen ~0.30.x)minSdkVersion:23→24(RN 0.79 dropped Android 6 / API 23 support)expo-assetconfig plugin entryexpo-updatesplugin,runtimeVersion,extra.eas)App.jsreact-native-paperUI with a minimal plain React Native UIcheckIfHasSMSPermission()— displays both permission flagsrequestReadSMSPermission()— triggers system dialog, then re-checks statusstartReadSMS(callback)— starts listener; logs received SMS bodystopReadSMS()— stops listener; confirms via loguseApphook dependency (previously coupled to old UI)Build Issues Encountered & Resolved
expo-modules-autolinkingpath not foundandroid/from old SDKexpo prebuild --cleanreact@"^19.0.0"peer dep conflictreact: "19.0.0"core-splashscreenrequires compileSdk ≥ 35expo-splash-screen ~0.30.xpulls newer splashscreencompileSdk/targetSdk: 34 → 35minSdkVersion 23 < 24manifest merge failureminSdkVersion: 23 → 24expo-dev-menucompile error (isRemoteJSDebugEnabledunresolved)expo-dev-client ~5.0.7targets SDK 52/RN 0.76expo install→~5.2.4Cannot find native module 'ExpoAsset'expo-assetnot installed (skipped by npm during clean install)expo install expo-assetTesting
Verification Checklist
npx expo prebuild+npx expo run:androidsucceed)checkIfHasSMSPermission()— returns correct{ hasReadSmsPermission, hasReceiveSmsPermission }objectrequestReadSMSPermission()— system dialog appears; returnstruewhen grantedstartReadSMS(callback)— starts without error; callback fires withstatus === "success"[phoneNumber, messageBody]valuesstopReadSMS()— stops listener; no further callbacks after stoppingNativeEventEmitterwarnings in consoleRelated