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

[verifier] Upgrade to RN 61 #1572

Merged
merged 18 commits into from
Nov 5, 2019
Merged

[verifier] Upgrade to RN 61 #1572

merged 18 commits into from
Nov 5, 2019

Conversation

martinvol
Copy link
Contributor

@martinvol martinvol commented Nov 4, 2019

Description

Verifier app hadn't been migrated to RN 61 and didn't build. So far it builds but yarn can't find 'react-native'

Tested

  • builds and updates tests

Other changes

Related issues

Backwards compatibility

@martinvol
Copy link
Contributor Author

Not sure if I should change

<service android:name="org.celo.verifier.InstanceIdService" android:exported="false">

for

<service android:name="io.invertase.firebase.messaging.RNFirebaseMessagingService">
      <intent-filter>
        <action android:name="com.google.firebase.MESSAGING_EVENT" />
      </intent-filter>
    </service>

Like in the app's manifest.

@codecov
Copy link

codecov bot commented Nov 4, 2019

Codecov Report

Merging #1572 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1572   +/-   ##
=======================================
  Coverage   73.85%   73.85%           
=======================================
  Files         283      283           
  Lines        7535     7535           
  Branches      661      661           
=======================================
  Hits         5565     5565           
  Misses       1858     1858           
  Partials      112      112
Flag Coverage Δ
#mobile 73.85% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 154953f...6d6e5b7. Read the comment docs.

@martinvol martinvol marked this pull request as ready for review November 5, 2019 15:26
@martinvol martinvol changed the title [WIP][verifier] Upgrade verifier app to RN 61 [WIP][verifier] Upgrade to RN 61 Nov 5, 2019
@@ -87,7 +87,7 @@ class HomeScreen extends React.Component<Props, State> {

async componentDidMount() {
try {
NetInfo.addEventListener('connectionChange', this.handleNetworkStatusChange)
NetInfo.addEventListener(this.handleNetworkStatusChange)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

API changed and I was getting a warning

@martinvol martinvol changed the title [WIP][verifier] Upgrade to RN 61 [verifier] Upgrade to RN 61 Nov 5, 2019
Copy link
Contributor

@jmrossy jmrossy left a comment

Choose a reason for hiding this comment

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

Nice!!

@martinvol martinvol merged commit 4593664 into master Nov 5, 2019
@martinvol martinvol deleted the martinvol/verifier_upgrade_RN branch November 13, 2019 14:47
aaronmgdr added a commit that referenced this pull request Dec 5, 2019
* master: (73 commits)
  Fix Ethstats Image reference (#1577)
  EU Cookies Behavior Change (#1447)
  [verifier] Upgrade to RN 61 (#1572)
  [Wallet] Update link styles and Implement VerificationEducationScreen (#1565)
  [wallet] Added native phone picker (#1310)
  [Wallet] Set up new verification screen skeletons (#1563)
  Bump e2e test migrate numbers where needed (#1567)
  [Wallet] Create new carousel component (#1555)
  [Wallet] Protect Backup Key and Safeguards with PIN (#1556)
  Increase ganache gas limit (#1569)
  Re-work locked gold requirements for validators and groups (#1474)
  Fix e2e on CI (#1537)
  Allow a specified address to disable/enable the Exchange  (#1467)
  Avoid re-encrypting key files with yarn keys:encrypt command (#1560)
  Support protocol hotfixing (#613)
  Point e2e tests back (#1562)
  Refactor to Accounts.sol (#1392)
  Add selectIssuers Transaction (#1327)
  [Wallet] Get React Native Hot Reloading Working (#1551)
  Unify to prefix messages for signing (#1473)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[verifier] App doesn't build
2 participants