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

chore: change react native ble plx #364

Draft
wants to merge 1 commit into
base: onekey
Choose a base branch
from
Draft

Conversation

ByteZhang1024
Copy link
Member

No description provided.

Copy link

what-the-diff bot commented Sep 13, 2024

PR总结

  • 重组了App.tsx中的组件结构
    通过修改AppIntlProviderTamaguiProviderWrapperMemoSafeAreaProviderSDKProvider的顺序,提高了代码的可读性,并确保了正确的提供者上下文。
  • en-US.json中添加了一个新的本地化键 label__res_file_name
    为了提供更好的文件命名指南。
  • 更新了react-native-ble-plx的依赖关系
    package.json中的版本3.0.0升级至3.2.1,增强了与BLE相关的功能或修复。
  • HandleSDKEvents.tsx中移除了输入针的回调处理
    如果不支持输入针,我们将通过省略onInputPinOnDeviceCallback来简化代码。
  • HardwareInputPinProvider.tsx中简化了openDialog函数
    通过移除回调用法,使这个函数更加专注于状态管理。
  • 跨越BleTransport.tsindex.tstypes.ts更新了各种导入
    以便引用react-native-ble-plx,而不是@onekeyfe/react-native-ble-plx,确保了BLE功能的一致导入源。
  • package.json中引入了新的metro依赖关系
    以更好地在Expo环境中进行打包。

Copy link

socket-security bot commented Sep 13, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@babel/core@7.25.2 environment, filesystem, unsafe +17 7.98 MB nicolo-ribaudo

🚮 Removed packages: npm/@onekeyfe/react-native-ble-plx@3.0.0, npm/@tamagui/config@1.90.2

View full report↗︎

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.

1 participant