-
Notifications
You must be signed in to change notification settings - Fork 987
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 to 0.53.3 #3387
Upgrade react native to 0.53.3 #3387
Conversation
"stream-browserify": "1.0.0", | ||
"string_decoder": "0.10.31", | ||
"timers-browserify": "1.4.2", | ||
"tty-browserify": "0.0.0", | ||
"url": "0.10.3", | ||
"vm-browserify": "0.0.4", | ||
"web3": "github:status-im/web3.js#status-develop", | ||
"rn-snoopy": "github:status-im/rn-snoopy" | ||
"web3": "github:status-im/web3.js#status-develop" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use exact version match here?
env/dev/env/android/main.cljs
Outdated
@@ -1,7 +1,7 @@ | |||
(ns ^:figwheel-no-load env.android.main | |||
(:require [reagent.core :as r] | |||
[status-im.android.core :as core] | |||
[figwheel.client :as figwheel :include-macros true] | |||
[figwheel.client :as fw] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we are using full names , figwheel
was correct
env/dev/env/ios/main.cljs
Outdated
@@ -3,10 +3,9 @@ | |||
[re-frisk-remote.core :as rr] | |||
[status-im.ios.core :as core] | |||
[status-im.utils.handlers :as utils.handlers] | |||
[figwheel.client :as figwheel :include-macros true] | |||
[figwheel.client :as fw] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we are using full names , figwheel
was correct
@@ -0,0 +1,9 @@ | |||
// workaround for react-native-vector-icons |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you elaborate why we need this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apparently some changes in Metro's file resolving behavior surfaced packaging issues in react-native-vector-icons. This file works around this by ignoring the offending files.
A longer explanation here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand the files ignored are test fixtures, so there should be no harm in ignoring them in our builds.
@flexsurfer Thanks for the feedback! Pushed fixes for the figwheel alias. To provide some background, changes in both files were the result of Ideally, there would be some way to keep the code separate so re-natal can cleanly patch when upgrading - maybe something to look into in the future (not that it is too important, considering the frequency of upgrading). |
@voxlet What is |
@jeluard Looks like it simply copies over the files in
|
Yes in our case it's probably useless. Our |
@jeluard Agreed, I ended up reverting most of Digging around the re-natal script turned out to be good learning experience, though! Demystified a lot of what's going on behind the scenes, and what it actually takes to use CLJS on React Native. |
Automated test results:test_network_switch:white_check_mark::Test Steps & Error message:
test_contact_profile_view:white_check_mark::Test Steps & Error message:
test_browse_link_entering_url_in_dapp_view:white_check_mark::Test Steps & Error message:
test_send_eth_from_wallet_sign_now:white_check_mark::Test Steps & Error message:
test_transaction_send_command_wrong_password:white_check_mark::Test Steps & Error message:
test_send_stt_from_wallet_via_enter_recipient_address:white_check_mark::Test Steps & Error message:
test_send_eth_from_wallet_sign_later:white_check_mark::Test Steps & Error message:
test_transaction_send_command_one_to_one_chat:white_check_mark::Test Steps & Error message:
test_send_transaction_from_daap:white_check_mark::Test Steps & Error message:
test_one_to_one_chat_messages_and_delete_chat:white_check_mark::Test Steps & Error message:
test_group_chat_messages:white_check_mark::Test Steps & Error message:
test_transaction_send_command_group_chat:x:Test Steps & Error message:
test_send_eth_to_request_in_group_chat:white_check_mark::Test Steps & Error message:
test_send_eth_to_request_in_one_to_one_chat:white_check_mark::Test Steps & Error message:
test_public_chat:white_check_mark::Test Steps & Error message:
test_send_eth_to_request_from_wallet:white_check_mark::Test Steps & Error message:
|
I've tested the whole app and the only thing I found is that the "Type your password" and "Confirm" hints are not fully visible: To reproduce:
@voxlet could you please check it? |
Automated test results:test_contact_profile_view:x:Test Steps & Error message:
test_browse_link_entering_url_in_dapp_view:white_check_mark::Test Steps & Error message:
test_network_switch:white_check_mark::Test Steps & Error message:
test_send_eth_from_wallet_sign_now:white_check_mark::Test Steps & Error message:
test_transaction_send_command_wrong_password:white_check_mark::Test Steps & Error message:
test_send_transaction_from_daap:white_check_mark::Test Steps & Error message:
test_send_eth_from_wallet_sign_later:white_check_mark::Test Steps & Error message:
test_send_stt_from_wallet_via_enter_recipient_address:white_check_mark::Test Steps & Error message:
test_transaction_send_command_one_to_one_chat:white_check_mark::Test Steps & Error message:
test_public_chat:white_check_mark::Test Steps & Error message:
test_one_to_one_chat_messages_and_delete_chat:white_check_mark::Test Steps & Error message:
test_transaction_send_command_group_chat:x:Test Steps & Error message:
test_group_chat_messages:white_check_mark::Test Steps & Error message:
test_send_eth_to_request_in_group_chat:white_check_mark::Test Steps & Error message:
test_send_eth_to_request_in_one_to_one_chat:white_check_mark::Test Steps & Error message:
test_send_eth_to_request_from_wallet:white_check_mark::Test Steps & Error message:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@voxlet there is a small issue with a hint in input fields. Please check my latest comment.
Automated test results:test_network_switch:white_check_mark::Test Steps & Error message:
test_browse_link_entering_url_in_dapp_view:white_check_mark::Test Steps & Error message:
test_contact_profile_view:white_check_mark::Test Steps & Error message:
test_send_eth_from_wallet_sign_now:white_check_mark::Test Steps & Error message:
test_transaction_send_command_wrong_password:white_check_mark::Test Steps & Error message:
test_send_transaction_from_daap:white_check_mark::Test Steps & Error message:
test_transaction_send_command_group_chat:white_check_mark::Test Steps & Error message:
test_public_chat:white_check_mark::Test Steps & Error message:
test_one_to_one_chat_messages_and_delete_chat:white_check_mark::Test Steps & Error message:
test_send_stt_from_wallet_via_enter_recipient_address:white_check_mark::Test Steps & Error message:
test_transaction_send_command_one_to_one_chat:x:Test Steps & Error message:
test_group_chat_messages:white_check_mark::Test Steps & Error message:
test_send_eth_to_request_in_group_chat:white_check_mark::Test Steps & Error message:
test_send_eth_from_wallet_sign_later:white_check_mark::Test Steps & Error message:
test_send_eth_to_request_in_one_to_one_chat:white_check_mark::Test Steps & Error message:
test_send_eth_to_request_from_wallet:white_check_mark::Test Steps & Error message:
|
@lukaszfryc Fixed, though this is probably more a workaround than a proper fix. |
My review was not related to the code changes
Automated test results:test_transaction_send_command_one_to_one_chat:x:Test Steps & Error message:
test_contact_profile_view:white_check_mark::Test Steps & Error message:
test_send_eth_from_wallet_sign_now:x:Test Steps & Error message:
test_public_chat:x:Test Steps & Error message:
test_send_transaction_from_daap:white_check_mark::Test Steps & Error message:
test_send_eth_from_wallet_sign_later:white_check_mark::Test Steps & Error message:
test_one_to_one_chat_messages_and_delete_chat:x:Test Steps & Error message:
test_group_chat_messages:white_check_mark::Test Steps & Error message:
test_transaction_send_command_wrong_password:x:Test Steps & Error message:
test_network_switch:white_check_mark::Test Steps & Error message:
test_transaction_send_command_group_chat:white_check_mark::Test Steps & Error message:
test_browse_link_entering_url_in_dapp_view:white_check_mark::Test Steps & Error message:
test_send_stt_from_wallet_via_enter_recipient_address:white_check_mark::Test Steps & Error message:
test_send_eth_to_request_in_group_chat:white_check_mark::Test Steps & Error message:
test_send_eth_to_request_from_wallet:white_check_mark::Test Steps & Error message:
test_send_eth_to_request_in_one_to_one_chat:white_check_mark::Test Steps & Error message:
|
@voxlet Please resolve conflict |
1727b89
to
8137068
Compare
@jeluard rebased to current develop |
@voxlet Also please squash your commits! |
8137068
to
f4fc2d3
Compare
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
f4fc2d3
to
35e8278
Compare
Fixes #3377
Summary:
Upgrades:
Review notes:
Includes workarounds for react-native-vector-icons (or rather, Metro) and FlatList keyExtractor.
As a side note, we could probably safely upgrade to re-frame 0.10.2 -> 0.10.4 which is what Re-Natal 0.8.1 is on.
Steps to test:
rm -rf node_modules
group-transactions-by-date
, which also fails in develop, though I suspect the tests do not actually test React to begin with)status: ready