Skip to content

Conversation

paullinator
Copy link
Member

CHANGELOG

  • Yes
  • No

Dependencies

none

Description

Migrates the edge-core-js React Native library from the legacy bridge to the new TurboModules architecture. This update improves performance, enhances type safety, and ensures future compatibility with React Native's evolving architecture.

Key changes include:

  • TurboModule Specifications: Defined TypeScript interfaces for native modules and Fabric components.
  • iOS & Android Implementations: Rewrote native modules and views to leverage TurboModules and Fabric.
  • Build Configuration: Updated podspec and build.gradle to support the new architecture.
  • Autolinking: Added react-native.config.js and codegenConfig to package.json.

All original features (Disklet, Network, Crypto operations, and WebView component) are supported, and backward compatibility is maintained. A sample React Native 0.81 app is included in the sample/ directory to validate the integration.


Open in Cursor Open in Web

Copy link

cursor bot commented Aug 13, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

- Complete RN 0.81 sample app in sample/ directory
- Tests TurboModule integration with randomBytes and disklet operations
- Includes Android and iOS project configuration
- New architecture enabled by default
- EdgeCorePackage properly registered for Android
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.

2 participants