Skip to content

Conversation

@EledenGreen
Copy link
Contributor

  1. update instruction regarding installation of Expo Go app in part10a.md
    • latest Expo Go in app store are for SDK 51 and are not compatible with the material.
    • added instruction to download for SDK 50.
  2. updated instruction in Ex: 10.9
    • TextInput of react-native doesn't have error prop
    • TextInput of react-native-paper have error prop
  3. update import statement in part10c.md
    • useAuthStorage.js and useSignIn.js are in the same directory: src/hooks
  4. updated sentence in part10c.md
    • "SecureStore is similar to AsyncStorage as a form of persisted storage, but it encrypts the stored data."
  5. fix typo in part10d.md
    • - "a quite"
    • + "quite a"
  6. fix: broken link in part10d.md
  7. update jest-expo install instruction in part10d.md
    • latest jest-expo version is v51 and is not compatible with the material
    • updated to install jest-expo@^50.0.0

for the error prop to work, the TextInput component must be of react-native-paper.
TextInput of react-native doesn't have error prop
useAuthStorage.js and useSignIn.js are in the same directory: src/hooks
update sentence to: 
"SecureStore is similar to AsyncStorage as a form of persisted storage, but it encrypts the stored data."
- "a quite" 
+ "quite a"
latest jest-expo is v51 and is not compatible with expo SDK 50
@vejol vejol added the part 10 label Jan 3, 2025
@watteja
Copy link
Contributor

watteja commented Feb 15, 2025

Hi!

I'm not sure if this is of any help, but I installed jest library with:

npx expo install jest-expo jest @types/jest eslint-plugin-jest -- --save-dev

as recommended by the official docs.

I continued to use npx expo install in the rest of part10d instead of using npm install directly, and that also took care of the SDK compatibility.

@EledenGreen
Copy link
Contributor Author

I continued to use npx expo install in the rest of part10d instead of using npm install directly, and that also took care of the SDK compatibility.

is your project's Expo SDK v50?
I had trouble with my project's Expo SDK v50 and Expo GO v51

@watteja
Copy link
Contributor

watteja commented Feb 16, 2025

is your project's Expo SDK v50? I had trouble with my project's Expo SDK v50 and Expo GO v51

Yes, I used v50, and when installing with expo the output says that it's taking care of installing the compatible package versions. I figure that might be an easier way than hunting down specific versions manually with npm install or --legacy-peer-deps.

I'm not very knowledgeable about this though, so there might well be a better way

@EledenGreen
Copy link
Contributor Author

Are u using the Expo Go app to test ur app? if so, what's the client version?

@watteja
Copy link
Contributor

watteja commented Feb 16, 2025

Are u using the Expo Go app to test ur app? if so, what's the client version?

I've used both Expo Go app on Android and the emulator. The client version that works with SDK v50 is 2.30.11.

I've initially installed the app directly from the Play Store, but I got the warning that the latest version is incompatible with SDK 50 so I reinstalled with the older version (I think the app even provided me with the link that first time).

One sneaky thing is that app updates are on by default, so the old version would get overwritten before next startup (or overnight, not sure which). So I had to disable automatic updates on the app's Play Store page.

@vejol vejol added this to the Part 10 - yearly check 2026 milestone Jan 3, 2026
@vejol vejol changed the title Update Part-10 instructions, links, library version Part10a: Update Part-10 instructions, links, library version Jan 3, 2026
@vejol vejol changed the title Part10a: Update Part-10 instructions, links, library version Part10a,b,c,d: Update Part-10 instructions, links, library version Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants