Thanks to visit codestin.com
Credit goes to github.com

Skip to content

REF: Auth Flow#8750

Open
marcosrdz wants to merge 7 commits into
masterfrom
unlockscreen
Open

REF: Auth Flow#8750
marcosrdz wants to merge 7 commits into
masterfrom
unlockscreen

Conversation

@marcosrdz

Copy link
Copy Markdown
Member

No description provided.

@socket-security

socket-security Bot commented Jul 8, 2026

Copy link
Copy Markdown

@socket-security

socket-security Bot commented Jul 8, 2026

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: npm @react-native/debugger-frontend is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: package-lock.jsonnpm/[email protected]npm/@react-native/[email protected]

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at [email protected].

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@react-native/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: npm @react-native/debugger-frontend is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: package-lock.jsonnpm/[email protected]npm/@react-native/[email protected]

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at [email protected].

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@react-native/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@marcosrdz marcosrdz added the testflight Upload iOS and macOS builds to Testflight. label Jul 8, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Refactors the app authentication/unlock flow so the navigation tree is only mounted after wallets are initialized/unlocked, and wires keychain-wipe handling into the unlock/decrypt path. Also upgrades React Native to 0.86.0 and updates related iOS/JS lockfiles and some navigation package versions.

Changes:

  • Move the unlock gate from the navigator into App.tsx, buffering deep links until after unlock.
  • Extend startAndDecrypt / biometrics keychain-wipe alert to accept a callback and relock the app on wipe.
  • Upgrade React Native (0.85.3 → 0.86.0) and update associated lockfiles; adjust React Navigation dependency versions.

Reviewed changes

Copilot reviewed 9 out of 11 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
screen/UnlockWith.tsx Passes relock callback into startAndDecrypt and updates hook deps.
blue_modules/start-and-decrypt.ts Adds onKeychainWipe callback support when showing wipe alert.
hooks/useBiometrics.ts Removes navigation reset; adds wipe callback support and relock behavior.
NavigationService.ts Removes reset() helper.
navigation/index.tsx Removes UnlockWithScreen from the stack; always renders DrawerRoot.
navigation/DetailViewStackParamList.ts Removes UnlockWithScreen route type.
App.tsx Introduces AppContent gating nav mount on walletsInitialized and deep link buffering.
package.json Upgrades RN and adjusts React Navigation version specs.
package-lock.json Lockfile updates reflecting dependency upgrades.
ios/Podfile.lock CocoaPods lock updates for RN 0.86.0 and related pods.
ios/BlueWallet.xcodeproj/project.pbxproj Adds PODFILE_DIR build setting.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread App.tsx Outdated
Comment thread package.json Outdated
Comment thread hooks/useBiometrics.ts
Comment on lines 1 to 5
import { useState, useEffect, useCallback } from 'react';
import { Alert, Platform } from 'react-native';
import ReactNativeBiometrics, { BiometryTypes as RNBiometryTypes } from 'react-native-biometrics';
import RNSecureKeyStore, { ACCESSIBLE } from 'react-native-secure-key-store';
import loc from '../loc';
Comment thread hooks/useBiometrics.ts Outdated
Comment thread hooks/useBiometrics.ts
marcosrdz and others added 2 commits July 8, 2026 21:52
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testflight Upload iOS and macOS builds to Testflight.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants