-
Notifications
You must be signed in to change notification settings - Fork 155
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
feat: upgrade to RN 0.73.5 #1439
base: main
Are you sure you want to change the base?
feat: upgrade to RN 0.73.5 #1439
Conversation
bac8e18
to
bb4e828
Compare
Signed-off-by: Mostafa Gamal <[email protected]> Signed-off-by: Mohamed Abd El-Samie Ahmad Mansour <[email protected]>
Signed-off-by: Mohamed Abd El-Samie Ahmad Mansour <[email protected]>
Signed-off-by: Mohamed Abd El-Samie Ahmad Mansour <[email protected]>
Signed-off-by: Mohamed Abd El-Samie Ahmad Mansour <[email protected]>
…penwallet-foundation#1433) Signed-off-by: fc-santos <[email protected]> Signed-off-by: Mohamed Abd El-Samie Ahmad Mansour <[email protected]>
…ndation#1427) Signed-off-by: fc-santos <[email protected]> Signed-off-by: Mohamed Abd El-Samie Ahmad Mansour <[email protected]>
…tion#1438) Signed-off-by: ClaudeArs <[email protected]> Signed-off-by: Mohamed Abd El-Samie Ahmad Mansour <[email protected]>
Signed-off-by: Mostafa Gamal <[email protected]> Signed-off-by: Mostafa Gamal <[email protected]> Co-authored-by: Bryce McMath <[email protected]> Signed-off-by: Mohamed Abd El-Samie Ahmad Mansour <[email protected]>
Signed-off-by: Bryce McMath <[email protected]> Signed-off-by: Mohamed Abd El-Samie Ahmad Mansour <[email protected]>
Signed-off-by: Mohamed Abd El-Samie Ahmad Mansour <[email protected]>
Signed-off-by: Mohamed Abd El-Samie Ahmad Mansour <[email protected]>
Signed-off-by: Mohamed Abd El-Samie Ahmad Mansour <[email protected]>
8b9707e
to
67219c4
Compare
Signed-off-by: Mohamed Abd El-Samie Ahmad Mansour <[email protected]>
Signed-off-by: Mohamed Abd El-Samie Ahmad Mansour <[email protected]>
cb500bb
to
634439e
Compare
Signed-off-by: Mohamed Abd El-Samie Ahmad Mansour <[email protected]>
634439e
to
2c420df
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1439 +/- ##
==========================================
- Coverage 55.52% 55.19% -0.34%
==========================================
Files 223 228 +5
Lines 7985 8195 +210
Branches 2241 2329 +88
==========================================
+ Hits 4434 4523 +89
- Misses 3528 3649 +121
Partials 23 23 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Mostafa Gamal <[email protected]>
Signed-off-by: Mostafa Gamal <[email protected]>
Signed-off-by: Mohamed Abd El-Samie Ahmad Mansour <[email protected]>
Signed-off-by: Mohamed Abd El-Samie Ahmad Mansour <[email protected]>
07dcb79
to
9c5813b
Compare
@MosCD3 could we possibly chat about this PR at the Bifold call next week? |
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.
Few things, but awesome work
bundle install && \ | ||
cd ios && \ | ||
rm -rf Pods && \ | ||
rm -f Podfile.lock && \ | ||
pod install && \ | ||
cd .. && \ |
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.
Erasing the lockfile on the main GHA defeats the purpose of a lockfile. This change would stop our build from being deterministic . Can we make use of the same command (ios:setup
) we would use locally? It's alright if we have to update that command a bit as part of this PR but we should still use it.
if (!__DEV__) { | ||
import('@hyperledger/aries-askar-react-native') | ||
.then(() => { | ||
// console.log('Askar native module loaded successfully') | ||
}) | ||
.catch(() => { | ||
// console.error('Failed to load Askar native module:', error) | ||
}) | ||
} else { | ||
// console.log('Askar native module not loaded in debug mode') | ||
} | ||
|
||
//NOTE: This line is throwing an error in debugging due to native modules is it still needed? maybe the above is a workaround | ||
// to be able to use RNDebugger in debug mode | ||
// eslint-disable-next-line import/no-extraneous-dependencies | ||
import 'reflect-metadata' | ||
|
||
import { AskarWallet } from '@credo-ts/askar' | ||
import { AskarWallet } from '@credo-ts/askar' // is this enough instead of line number 2 |
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 don't think we should conditionally import. Is the NOTE
for the conditional import above or the reflect-metadata line below?
I don't think reflect-metadata is still needed but we can just test out the app after removing it to find out if that's true. We should remove it from the entire project if possible
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.
@hyperledger/aries-askar-react-native
is that needed Bryce, we already importing AzkarWallet from credo
This import is causing issues with real native chrome debugger, if its not needed anymore its better to remove the whole statement
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.
Probably fine, we should just check that without that import we are still able to accept credentials and view / delete them after an app restart
@@ -203,7 +203,7 @@ exports[`VerifierCredentialCard Component Renders correctly 1`] = ` | |||
removeClippedSubviews={false} | |||
renderItem={[Function]} | |||
scrollEnabled={false} | |||
scrollEventThrottle={50} | |||
scrollEventThrottle={0.0001} |
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 caused this change?
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.
this was part of the snapshot update
Co-authored-by: Bryce McMath <[email protected]> Signed-off-by: Mostafa Gamal <[email protected]>
|
Authentication with a PIN is broken - react-native-keychain needs to be updated to at least 8.1.2 for RN 7.3 support. There is an Android bug fixed in 8.1.3 that allowed Biometric authentication to be bypassed if someone had recently authenticated. There are also some security enhancements in later releases that should be considered for a future PR. |
Summary of Changes
iOS part done so far
All changes re-reviewed and re-done by @MaSMas0
New version supports experimental and chrome debugger (RN Debugger)
Added menu to start chrome debugger
Replace this text with a high-level summary of the changes included in this PR.
Screenshots, videos, or gifs
Replace this text with embedded media for UI changes if they are included in this PR. If there are none, simply enter N/A
Breaking change guide
Replace this text with any breaking changes included in this PR along with how to address them in downstream projects. If there are none, simply enter N/A
Related Issues
Replace this text with issue #'s that are relevant to this PR. If there are none, simply enter N/A
Pull Request Checklist
Tick all boxes below to demonstrate that you have completed the respective task. If the item does not apply to your this PR check it anyway to make it apparent that there's nothing to do.
Signed-off-by
line (we use the DCO GitHub app to enforce this)If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing!
Pro Tip 🤓