Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

fix: ios menu error #633

Merged
merged 2 commits into from
Dec 28, 2021
Merged

fix: ios menu error #633

merged 2 commits into from
Dec 28, 2021

Conversation

intergalacticspacehighway
Copy link
Collaborator

@intergalacticspacehighway intergalacticspacehighway commented Dec 28, 2021

Why

Fixes the below error appearing due to context menu library and adds a nuke script

simulator_screenshot_6EDB5687-6384-4CFF-8471-6E079FFD182C

Test Plan

  • Run expo app on iOS and Android

@vercel
Copy link

vercel bot commented Dec 28, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/showtime/showtime/Hc9zk8aL5VJcz8Zu22iQreSq4M6N
✅ Preview: https://showtime-git-fix-menu-error-showtime.vercel.app

@github-actions
Copy link

github-actions bot commented Dec 28, 2021

PR Preview - Storybook

This pull request preview deployment is now available.

✅ Preview: io.showtime.storybook://expo-development-client/?url=https://exp.host/@tryshowtime/showtime-storybook-react-native/index.exp?release-channel=pr-633&sdkVersion=44.0.0

Comment ID: 1002118973

@github-actions
Copy link

github-actions bot commented Dec 28, 2021

PR Preview - App

This pull request preview deployment is now available.

✅ Preview: io.showtime.development://expo-development-client/?url=https://exp.host/@tryshowtime/showtime/index.exp?release-channel=pr-633&sdkVersion=44.0.0

Comment ID: 1002121533

package.json Outdated
@@ -45,7 +45,8 @@
"clean": "yarn clean:turbo & yarn clean:node-modules",
"clean:turbo": "rm -rf ./node_modules/.cache/turbo",
"clean:node-modules": "find . -name 'node_modules' -type d -prune -exec rm -rf '{}' +",
"postinstall": "patch-package"
"postinstall": "patch-package",
"nuke": "yarn clean && rm -rf apps/storybook-react-native/android && rm -rf apps/storybook-react-native/ios && rm -rf apps/expo/android && rm -rf apps/expo/ios"
Copy link
Contributor

Choose a reason for hiding this comment

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

Awesome addition!

My nitpick are not blockers but do you think clean:mobile might be a more aligned script name? Also if you have the time it could be helpful to add the new script to the script command section of the readme.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah I agree about naming. I'll go for clean:native as it is removing the native iOS and Android folders.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good suggestion! Updated and added in readme

Copy link
Contributor

@axeldelafosse axeldelafosse left a comment

Choose a reason for hiding this comment

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

LGTM! Same nitpick as Lois about naming.

Don't know when or how this went wrong. I'll add basic end-to-end tests to avoid having a bad build or bad bundle in staging.

@github-actions
Copy link

PR Preview - Storybook on Chromatic

✅ Preview: The Storybook preview URL for this Pull Request

✅ Build: The Chromatic build URL for this Pull Request

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants