Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1671,8 +1671,6 @@ PODS:
- React-Core
- react-native-quick-base64 (2.2.2):
- React-Core
- react-native-randombytes (3.6.2):
- React-Core
- react-native-safe-area-context (5.6.2):
- hermes-engine
- RCTRequired
Expand Down Expand Up @@ -2476,7 +2474,6 @@ DEPENDENCIES:
- react-native-biometrics (from `../node_modules/react-native-biometrics`)
- react-native-get-random-values (from `../node_modules/react-native-get-random-values`)
- react-native-quick-base64 (from `../node_modules/react-native-quick-base64`)
- react-native-randombytes (from `../node_modules/react-native-randombytes`)
- react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`)
- React-NativeModulesApple (from `../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios`)
- React-oscompat (from `../node_modules/react-native/ReactCommon/oscompat`)
Expand Down Expand Up @@ -2690,8 +2687,6 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native-get-random-values"
react-native-quick-base64:
:path: "../node_modules/react-native-quick-base64"
react-native-randombytes:
:path: "../node_modules/react-native-randombytes"
react-native-safe-area-context:
:path: "../node_modules/react-native-safe-area-context"
React-NativeModulesApple:
Expand Down Expand Up @@ -2868,7 +2863,6 @@ SPEC CHECKSUMS:
react-native-biometrics: 43ed5b828646a7862dbc7945556446be00798e7d
react-native-get-random-values: d16467cf726c618e9c7a8c3c39c31faa2244bbba
react-native-quick-base64: 6568199bb2ac8e72ecdfdc73a230fbc5c1d3aac4
react-native-randombytes: 4eeddad82d1fd57adda1cd5beffe67d041c9d6de
react-native-safe-area-context: c5d42c4294aa175415947e23c2ac956253abfc7d
React-NativeModulesApple: 8969913947d5b576de4ed371a939455a8daf28aa
React-oscompat: ce47230ed20185e91de62d8c6d139ae61763d09c
Expand Down
7 changes: 7 additions & 0 deletions metro.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ const config = getDefaultConfig(__dirname);
// Enable debug logging and better error reporting
config.resolver.platforms = ['ios', 'android', 'native', 'web'];

// Polyfill Node.js modules for React Native
config.resolver.extraNodeModules = {
...config.resolver.extraNodeModules,
buffer: require.resolve('@craftzdog/react-native-buffer'),
stream: require.resolve('stream-browserify'),
};

// Enable source maps for better debugging
config.transformer.minifierConfig = {
keep_fnames: true,
Expand Down
Loading