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
fix: rebuild iOS structure to build in master #725
Conversation
This isn't a problem. Most people have moved on from iPhone 4 devices now, even as their backup / spare device. Chances are the majority of them no longer take a charge and the batteries aren't easy to replace. It is worth noting that iPhone 6 or below should be considered insecure and can be hacked trivially. The 6s is slightly better but only XR / XS or above is considered safe.
Great work! Well done. |
@blockchainunchained Hey thanks for the info!
This is great to know and I'll make sure to do some more research myself to get a better understanding, and ask our security team as well. When looking through the older bug patches I did see a lot of issues with the older iPhones so, I will make sure to document them as I find them and as we move forward and closer to a release hopefully we will have some solid documentation.
Thank you, it means a lot. I dropped everything to make sure Signer moves forward and productive steady progress is made. Keep an eye out for these PR's, and updates on here as I will be working mostly on Signer until it's in a good place to pass on to future maintainers. |
In which case you have almost certainly prevented users from losing funds unnecessarily, let's check everything twice and move quickly but cautiously. I have spare devices (including old iPhones) and I am more than happy to help test. I've never worked with Rust but I have a working knowledge of React Native, unfortunately that means I can't be of much further assistance than testing right now. I'll try and work on that. |
Don't Parity / Polkadot / Web3 have a security company on retainer? Is this project in scope? Can it be if not? |
Thanks for offering up your time to test and help. Currently the goal of this specific PR is to update the Repo so that it is up to date specifically for iOS so that anyone can pull it down and have a working repo to build and test on. So once this is merged then the focus will be towards testing on devices and getting this PR operational with up to date metadata and so on so transactions can be decoded, and viewed before signing.
To be honest I have no idea. |
We do and this is a great suggestion. The scope does not cover Signer afaik so it's not going to happen first thing on Monday, but I'll see what we can do. |
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.
🚀
What about iphone SE 1 gen? I know it's widely used as a backup device and is still supported. |
@TarikGul I've sent you an invite to Bitrise, which I was configuring as a state of the art CI for Signer, we could discuss what can be done better there. |
@TriplEight Awesome just accepted it. Also the Iphone SE 1 gen will definitely work for it. |
np. |
Oh my bad :) It Shouldn't be an issue for a very very long time, the SE is compatible with all the iOS version's above 10 , so I don't see react-native dropping support for it for many years to come. Thanks again for the Bitrise access. |
Info
This PR has an aim to fix current bugs with the current master on Parity-Signer. The idea behind this PR is also to help move the project forward so that we can introduce this PR into the next release. This is mainly focusing on creating a stable repo for future development for iOS. Since the last PR in September, both iOS 14, along with xcode 12 was introduced. This caused a lot of issues for development ie, cocoapods, dependencies, and the QRcode not showing up.
Bugs Found
0.62.x
and iOS14.x
where due to an animation issue an image wont appear on a mounted component.0.63.4
. Below I will mention the residual issues that this causes and the fixes made to accompany it.Flipper-Folly
version to2.3.0
, and change the path for theReact-Callinvoker
yarn jest
and you can unit test locally.yarn build-e2e:ios
which callsyarn xcbuild:debug
. Now this was causing some catastrophic errors when building. This has to directly do with thexcode 12
update as well, as iOS14.4
and React Native0.63.4
and thearm64
for simulator architecture.arm64
simulator architecture for both the xcode project and pod project. Further information on this bug can be seen herebuild-e2e:ios
is complete, the previous version of detox(<=16.xx.x) was not working well withxcode 12
, and iOS14.x
. Detox as a library is reliant on a package called EarlGrey which they are slowly transitioning off of and which was causing our e2e-testing issues.