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

Upgrade React Native #638

Merged
merged 21 commits into from
Dec 21, 2018
Merged

Upgrade React Native #638

merged 21 commits into from
Dec 21, 2018

Conversation

markholland
Copy link
Collaborator

@markholland markholland commented Dec 17, 2018

fixes #633

Followed these steps https://medium.com/@oleg2014/how-to-upgrade-project-to-react-native-0-57-rn-0-57-1a7e9fd8098

Caveats:

  • Adds some flow fix me comments to be addressed later
  • e2es disabled to be addressed later

Enables:

  • Submitting iOS updates after March 2019
  • Xcode 10 support

Pre-merge check-list

  • Link to Trello ticket/GitHub issue (If applicable)
  • Any risky areas identified
  • Test plan provided
  • Tester approved

Tester check-list

  • Tested on multiple devices / OS versions (Test on the physical device(s) you have access to, otherwise use BrowserStack):

    • Galaxy S8 (Android 7.0/8.0)
    • Galaxy S7 (Android 6.0)
    • iPhone X (iOS 11.x)
    • iPhone 8 (11.x)
    • iPhone 7 (iOS 10.x)

    Optional:

    • Google Pixel 2
    • Galaxy S8 Plus
    • Galaxy S7 Edge
    • Galaxy S6
    • iPhone 7+
    • iPhone 6

Accessibility Testing (If applicable)

  • Text-to-Voice (Android: Voice Assistant / iOS: Speak Selection)
  • Large Text (=<200%)
  • Landscape Screen orientation

Weak connection testing (If applicable)

  • Airplane mode
  • 2G/3G Network Settings

@markholland
Copy link
Collaborator Author

Fighting Flow and unit tests atm

@@ -1,3 +1,4 @@
{
"presets": ["react-native"]
"presets": ["module:metro-react-native-babel-preset"],
"plugins": ["jest-hoist"]
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@@ -1,6 +1,7 @@
// @flow
import React from "react";
import { shallow } from "enzyme";
// $FlowFixMe
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Added several of these that will need to be addressed at some point

@@ -30,14 +29,6 @@ it("renders markdown component based on flag", () => {
expect(output).toMatchSnapshot();
});

it("does not render markdown images", () => {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Couldn't get this to work and existing snapshot didn't seem useful

@@ -519,7 +519,7 @@ workflows:
node-android-ios:
jobs:
- build
- e2e-ios
# - e2e-ios
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

to be addressed separately in #643

Copy link

@callerc1 callerc1 left a comment

Choose a reason for hiding this comment

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

Went through this with @markholland Looks good 👍

@markholland markholland changed the title [WIP] Upgrade React Native Upgrade React Native Dec 21, 2018
@markholland markholland merged commit fc3e9a4 into master Dec 21, 2018
@markholland markholland deleted the upgrade-rn branch December 21, 2018 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade React Native
2 participants