docs: add Expo Go SDK compatibility note - #2432
Conversation
Signed-off-by: Chandra Keshav Mishra <chandrakeshavmishra@gmail.com>
|
Warning Rate limit exceeded
To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. WalkthroughThe README.md is updated with a compatibility warning for Expo SDK 51, noting that Expo Go supports SDK 54, and provides two troubleshooting solutions: creating a development build or using an Android emulator. Formatting in the Known Issues section is also cleaned up. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Review rate limit: 0/1 reviews remaining, refill in 38 minutes and 24 seconds.Comment |
There was a problem hiding this comment.
Pull request overview
Adds onboarding documentation to explain why Expo Go may fail to run this project (SDK mismatch) and points contributors toward alternative ways to run the app.
Changes:
- Added a README note about Expo Go incompatibility with the project’s Expo SDK version.
- Documented suggested alternatives (development build / emulator) for running the app.
- Cleaned up minor markdown spacing in the “Known Issues” section.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| This project uses Expo SDK 51, while the latest Expo Go app supports SDK 54. | ||
|
|
||
| If you encounter an incompatibility error when using Expo Go, this is expected due to SDK version mismatch. |
There was a problem hiding this comment.
The statement about "the latest Expo Go app supports SDK 54" is time-sensitive and will become outdated as Expo Go updates. Consider rephrasing to something like "Expo Go only supports the SDK version it was built with" and/or link to the official Expo docs page that lists the currently supported SDK for Expo Go, instead of hard-coding a specific SDK number.
| This project uses Expo SDK 51, while the latest Expo Go app supports SDK 54. | |
| If you encounter an incompatibility error when using Expo Go, this is expected due to SDK version mismatch. | |
| This project uses Expo SDK 51. Expo Go only supports the SDK version it was built with, so version mismatches can cause incompatibility errors. | |
| If you encounter an incompatibility error when using Expo Go, this is expected when the installed Expo Go app does not match this project's SDK version. Refer to the official Expo documentation for current compatibility details: https://docs.expo.dev/get-started/set-up-your-environment/?mode=expo-go. |
| - Use a development build: | ||
|
|
||
| ```bash | ||
| npx expo run:android | ||
| ``` | ||
|
|
||
| - Or run the app on an Android emulator | ||
|
|
There was a problem hiding this comment.
"Or run the app on an Android emulator" doesn’t resolve the Expo Go SDK mismatch by itself (Expo Go on an emulator will hit the same incompatibility). Please clarify that the emulator option still requires running a native/dev build (and consider adding the equivalent iOS command, e.g., how to run on iOS simulator/device), or point to the existing npm run android:mosip / npm run ios flow if that’s the intended approach for this repo.
| - Use a development build: | |
| ```bash | |
| npx expo run:android | |
| ``` | |
| - Or run the app on an Android emulator | |
| - Use a native/development build instead of Expo Go. For Android (device or emulator), run: | |
| ```bash | |
| npx expo run:android |
Running the app on an Android emulator only helps if you launch this native/dev build; opening the project in Expo Go on the emulator will still fail because of the same SDK mismatch.
-
For iOS (device or simulator), run:
npx expo run:ios
Signed-off-by: Md Sayan Akram <mdsayanakram@gmail.com> Signed-off-by: Md Sayan Akram <mdsayanakram@gmail.com># Signed-off-by: Md Sayan Akram <mdsayanakram@gmail.com>
|
@synakr please check code rabbit comments and raise PR for develop branch |
Problem
While setting up the project, Expo Go shows an incompatibility error because the project uses Expo SDK 51, while the latest Expo Go supports SDK 54.
Solution
Added a note in README explaining:
Impact
Helps new contributors avoid confusion during setup and reduces onboarding friction.
Summary by CodeRabbit