Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[go] Update incompatible version screen with links to expo.dev/go #27918

Merged
merged 3 commits into from
Apr 19, 2024

Conversation

behenate
Copy link
Member

@behenate behenate commented Mar 28, 2024

Why

We want to link people to https://expo.dev/go when they launch an incompatible project in Expo Go so it's easier for them to install a compatible Expo Go app.

ENG-11732

How

Edited the existing messages to include installation links. Depending if running on a iOS device or in a simulator the behaviour is slightly different.

Also updated the code to work correctly when only one SDK version is available, on iOS added a more universal link parser that changes any combination of [link](description) into a hyperlink instead.

Test Plan

Tested in Expo Go on a physical Android device, emulator, physical iOS device and iOS emulator

Android iOS Simulator iOS Device
android simulator physical

@behenate behenate marked this pull request as ready for review March 28, 2024 15:03
@expo-bot expo-bot added the bot: passed checks ExpoBot has nothing to complain about label Mar 28, 2024
@brentvatne brentvatne requested review from kbrandwijk and kadikraman and removed request for amandeepmittal March 28, 2024 18:05
Copy link
Contributor

@kadikraman kadikraman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! 🎉

@brentvatne
Copy link
Member

brentvatne commented Mar 29, 2024

nice work! what do you think about this for iOS? my main motivation here was to provide the least amount of text possible, without sacrificing clarity. i also wanted to make the follow up actions extremely clear by putting them beside each other on the bottom, without any other text

image

(I didn't mock this up for Android, let me know if that's needed - we should follow the same pattern)

@brentvatne
Copy link
Member

another thought - should we remove the "Try again" button here on this specific error screen? it really catches the eye and it's not very useful.

@behenate
Copy link
Member Author

behenate commented Apr 3, 2024

Updated version:

Android iOS Simulator iOS Device
android simulator physical

@behenate behenate requested a review from tsapeta April 3, 2024 14:24
@behenate behenate force-pushed the @behenate/update-sdk-version-screen branch from 4c3e348 to e058cd6 Compare April 12, 2024 11:01
Copy link
Member

@brentvatne brentvatne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • How to Fix This Error -> How to fix this error
  • add a bit less spacing under the "How to fix this error" header so it feels grouped with the text below it. maybe no extra spacing, just a normal amount of line spacing that we would use if it was part of the same paragraph

@brentvatne
Copy link
Member

  • currently installed -> installed
  • The project you attempted to open -> The project you opened

@behenate
Copy link
Member Author

@brentvatne Hopefully the final edit 😅:

iOS Android
android simulator

@brentvatne
Copy link
Member

looks great! thank you!

@brentvatne brentvatne merged commit ca7ee4b into main Apr 19, 2024
9 checks passed
@brentvatne brentvatne deleted the @behenate/update-sdk-version-screen branch April 19, 2024 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: passed checks ExpoBot has nothing to complain about
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants