Skip to content

Commit e8406b9

Browse files
committed
chore: improving example and fixing iOS source code
1 parent 7f942a0 commit e8406b9

24 files changed

Lines changed: 1411 additions & 3004 deletions

example/ios/Podfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ target 'SensitiveInfoExample' do
2525
:app_path => "#{Pod::Config.instance.installation_root}/.."
2626
)
2727

28+
pod 'SDWebImage', :modular_headers => true
29+
pod 'SDWebImageSVGCoder', :modular_headers => true
30+
2831
post_install do |installer|
2932
# https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202
3033
react_native_post_install(

example/ios/Podfile.lock

Lines changed: 16 additions & 139 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ PODS:
88
- hermes-engine (0.79.5):
99
- hermes-engine/Pre-built (= 0.79.5)
1010
- hermes-engine/Pre-built (0.79.5)
11-
- NitroModules (0.26.4):
11+
- NitroModules (0.27.3):
1212
- DoubleConversion
1313
- glog
1414
- hermes-engine
@@ -1357,81 +1357,6 @@ PODS:
13571357
- React-jsiexecutor
13581358
- React-RCTFBReactNativeSpec
13591359
- ReactCommon/turbomodule/core
1360-
- react-native-safe-area-context (5.5.2):
1361-
- DoubleConversion
1362-
- glog
1363-
- hermes-engine
1364-
- RCT-Folly (= 2024.11.18.00)
1365-
- RCTRequired
1366-
- RCTTypeSafety
1367-
- React-Core
1368-
- React-debug
1369-
- React-Fabric
1370-
- React-featureflags
1371-
- React-graphics
1372-
- React-hermes
1373-
- React-ImageManager
1374-
- React-jsi
1375-
- react-native-safe-area-context/common (= 5.5.2)
1376-
- react-native-safe-area-context/fabric (= 5.5.2)
1377-
- React-NativeModulesApple
1378-
- React-RCTFabric
1379-
- React-renderercss
1380-
- React-rendererdebug
1381-
- React-utils
1382-
- ReactCodegen
1383-
- ReactCommon/turbomodule/bridging
1384-
- ReactCommon/turbomodule/core
1385-
- Yoga
1386-
- react-native-safe-area-context/common (5.5.2):
1387-
- DoubleConversion
1388-
- glog
1389-
- hermes-engine
1390-
- RCT-Folly (= 2024.11.18.00)
1391-
- RCTRequired
1392-
- RCTTypeSafety
1393-
- React-Core
1394-
- React-debug
1395-
- React-Fabric
1396-
- React-featureflags
1397-
- React-graphics
1398-
- React-hermes
1399-
- React-ImageManager
1400-
- React-jsi
1401-
- React-NativeModulesApple
1402-
- React-RCTFabric
1403-
- React-renderercss
1404-
- React-rendererdebug
1405-
- React-utils
1406-
- ReactCodegen
1407-
- ReactCommon/turbomodule/bridging
1408-
- ReactCommon/turbomodule/core
1409-
- Yoga
1410-
- react-native-safe-area-context/fabric (5.5.2):
1411-
- DoubleConversion
1412-
- glog
1413-
- hermes-engine
1414-
- RCT-Folly (= 2024.11.18.00)
1415-
- RCTRequired
1416-
- RCTTypeSafety
1417-
- React-Core
1418-
- React-debug
1419-
- React-Fabric
1420-
- React-featureflags
1421-
- React-graphics
1422-
- React-hermes
1423-
- React-ImageManager
1424-
- React-jsi
1425-
- react-native-safe-area-context/common
1426-
- React-NativeModulesApple
1427-
- React-RCTFabric
1428-
- React-renderercss
1429-
- React-rendererdebug
1430-
- React-utils
1431-
- ReactCodegen
1432-
- ReactCommon/turbomodule/bridging
1433-
- ReactCommon/turbomodule/core
1434-
- Yoga
14351360
- React-NativeModulesApple (0.79.5):
14361361
- glog
14371362
- hermes-engine
@@ -1754,57 +1679,11 @@ PODS:
17541679
- React-logger (= 0.79.5)
17551680
- React-perflogger (= 0.79.5)
17561681
- React-utils (= 0.79.5)
1757-
- RNScreens (4.13.1):
1758-
- DoubleConversion
1759-
- glog
1760-
- hermes-engine
1761-
- RCT-Folly (= 2024.11.18.00)
1762-
- RCTRequired
1763-
- RCTTypeSafety
1764-
- React-Core
1765-
- React-debug
1766-
- React-Fabric
1767-
- React-featureflags
1768-
- React-graphics
1769-
- React-hermes
1770-
- React-ImageManager
1771-
- React-jsi
1772-
- React-NativeModulesApple
1773-
- React-RCTFabric
1774-
- React-RCTImage
1775-
- React-renderercss
1776-
- React-rendererdebug
1777-
- React-utils
1778-
- ReactCodegen
1779-
- ReactCommon/turbomodule/bridging
1780-
- ReactCommon/turbomodule/core
1781-
- RNScreens/common (= 4.13.1)
1782-
- Yoga
1783-
- RNScreens/common (4.13.1):
1784-
- DoubleConversion
1785-
- glog
1786-
- hermes-engine
1787-
- RCT-Folly (= 2024.11.18.00)
1788-
- RCTRequired
1789-
- RCTTypeSafety
1790-
- React-Core
1791-
- React-debug
1792-
- React-Fabric
1793-
- React-featureflags
1794-
- React-graphics
1795-
- React-hermes
1796-
- React-ImageManager
1797-
- React-jsi
1798-
- React-NativeModulesApple
1799-
- React-RCTFabric
1800-
- React-RCTImage
1801-
- React-renderercss
1802-
- React-rendererdebug
1803-
- React-utils
1804-
- ReactCodegen
1805-
- ReactCommon/turbomodule/bridging
1806-
- ReactCommon/turbomodule/core
1807-
- Yoga
1682+
- SDWebImage (5.21.1):
1683+
- SDWebImage/Core (= 5.21.1)
1684+
- SDWebImage/Core (5.21.1)
1685+
- SDWebImageSVGCoder (1.8.0):
1686+
- SDWebImage/Core (~> 5.6)
18081687
- SensitiveInfo (6.0.0):
18091688
- DoubleConversion
18101689
- glog
@@ -1876,7 +1755,6 @@ DEPENDENCIES:
18761755
- React-logger (from `../node_modules/react-native/ReactCommon/logger`)
18771756
- React-Mapbuffer (from `../node_modules/react-native/ReactCommon`)
18781757
- React-microtasksnativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/microtasks`)
1879-
- react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`)
18801758
- React-NativeModulesApple (from `../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios`)
18811759
- React-oscompat (from `../node_modules/react-native/ReactCommon/oscompat`)
18821760
- React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`)
@@ -1908,12 +1786,15 @@ DEPENDENCIES:
19081786
- ReactAppDependencyProvider (from `build/generated/ios`)
19091787
- ReactCodegen (from `build/generated/ios`)
19101788
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
1911-
- RNScreens (from `../node_modules/react-native-screens`)
1789+
- SDWebImage
1790+
- SDWebImageSVGCoder
19121791
- SensitiveInfo (from `../..`)
19131792
- Yoga (from `../node_modules/react-native/ReactCommon/yoga`)
19141793

19151794
SPEC REPOS:
19161795
trunk:
1796+
- SDWebImage
1797+
- SDWebImageSVGCoder
19171798
- SocketRocket
19181799

19191800
EXTERNAL SOURCES:
@@ -1996,8 +1877,6 @@ EXTERNAL SOURCES:
19961877
:path: "../node_modules/react-native/ReactCommon"
19971878
React-microtasksnativemodule:
19981879
:path: "../node_modules/react-native/ReactCommon/react/nativemodule/microtasks"
1999-
react-native-safe-area-context:
2000-
:path: "../node_modules/react-native-safe-area-context"
20011880
React-NativeModulesApple:
20021881
:path: "../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios"
20031882
React-oscompat:
@@ -2060,8 +1939,6 @@ EXTERNAL SOURCES:
20601939
:path: build/generated/ios
20611940
ReactCommon:
20621941
:path: "../node_modules/react-native/ReactCommon"
2063-
RNScreens:
2064-
:path: "../node_modules/react-native-screens"
20651942
SensitiveInfo:
20661943
:path: "../.."
20671944
Yoga:
@@ -2075,7 +1952,7 @@ SPEC CHECKSUMS:
20751952
fmt: a40bb5bd0294ea969aaaba240a927bd33d878cdd
20761953
glog: 5683914934d5b6e4240e497e0f4a3b42d1854183
20771954
hermes-engine: f03b0e06d3882d71e67e45b073bb827da1a21aae
2078-
NitroModules: 763fe03c46a734a615e648ff2c77158cd26d8f89
1955+
NitroModules: 2aa0919ad93da681e1c4235f78ce09a3a704fc9d
20791956
RCT-Folly: e78785aa9ba2ed998ea4151e314036f6c49e6d82
20801957
RCTDeprecation: 5f638f65935e273753b1f31a365db6a8d6dc53b5
20811958
RCTRequired: 8b46a520ea9071e2bc47d474aa9ca31b4a935bd8
@@ -2107,7 +1984,6 @@ SPEC CHECKSUMS:
21071984
React-logger: 85fa3509931497c72ccd2547fcc91e7299d8591e
21081985
React-Mapbuffer: 96a2f2a176268581733be182fa6eebab1c0193be
21091986
React-microtasksnativemodule: bda561d2648e1e52bd9e5a87f8889836bdbde2e2
2110-
react-native-safe-area-context: 7e926a200d4bc9c56562275743705c6b56176455
21111987
React-NativeModulesApple: 1ecb83880dd11baf2228f8dd89d8419c387e03ad
21121988
React-oscompat: 0592889a9fcf0eacb205532028e4a364e22907dd
21131989
React-perflogger: c584fa50e422a46f37404d083fad12eb289d5de4
@@ -2137,13 +2013,14 @@ SPEC CHECKSUMS:
21372013
React-timing: acc3fa92c72dcc1de6300d752ebb84a1d55dc809
21382014
React-utils: 525f1fe996874cff32a0ef8e523e31ebde23664d
21392015
ReactAppDependencyProvider: f3e842e6cb5a825b6918a74a38402ba1409411f8
2140-
ReactCodegen: ecc230721b6cf8e6de775278f7df22f776373673
2016+
ReactCodegen: 6cb6e0d0b52471abc883541c76589d1c367c64c7
21412017
ReactCommon: 1ab5451fc5da87c4cc4c3046e19a8054624ca763
2142-
RNScreens: 7e56b051227a1a11c3068849d1a9a5dd457537df
2018+
SDWebImage: f29024626962457f3470184232766516dee8dfea
2019+
SDWebImageSVGCoder: 8e10c8f6cc879c7dfb317b284e13dd589379f01c
21432020
SensitiveInfo: 85a8fa506119e904fc9cd180e0fb61ce8d974bae
21442021
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
21452022
Yoga: adb397651e1c00672c12e9495babca70777e411e
21462023

2147-
PODFILE CHECKSUM: 20594f1555ab577d46d74105f279caee68095c24
2024+
PODFILE CHECKSUM: a1140ced0a89b4fec27500afc68094e302845dc0
21482025

2149-
COCOAPODS: 1.15.2
2026+
COCOAPODS: 1.16.2

example/package.json

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,30 +10,25 @@
1010
"build:ios": "react-native build-ios --mode Debug"
1111
},
1212
"dependencies": {
13-
"@bottom-tabs/react-navigation": "^0.9.2",
14-
"@react-navigation/native": "^7.1.14",
15-
"@react-navigation/native-stack": "^7.3.21",
16-
"react": "19.0.0",
13+
"react": "19.1.1",
1714
"react-native": "0.79.x",
18-
"react-native-nitro-modules": "^0.26.4",
19-
"react-native-safe-area-context": "^5.5.2",
20-
"react-native-screens": "^4.13.1"
15+
"react-native-nitro-modules": "^0.27.3"
2116
},
2217
"devDependencies": {
2318
"@babel/core": "^7.28.0",
2419
"@babel/preset-env": "^7.28.0",
25-
"@babel/runtime": "^7.27.6",
26-
"@react-native-community/cli": "19.1.0",
20+
"@babel/runtime": "^7.28.2",
21+
"@react-native-community/cli": "19.1.1",
2722
"@react-native-community/cli-platform-android": "18.0.0",
2823
"@react-native-community/cli-platform-ios": "18.0.0",
2924
"@react-native/babel-preset": "0.79.x",
3025
"@react-native/metro-config": "0.79.x",
3126
"@react-native/typescript-config": "0.79.x",
32-
"@types/react": "^19.1.8",
33-
"react-native-builder-bob": "^0.40.12",
27+
"@types/react": "^19.1.9",
28+
"react-native-builder-bob": "^0.40.13",
3429
"react-native-monorepo-config": "^0.1.9"
3530
},
3631
"engines": {
37-
"node": ">=18"
32+
"node": ">=22"
3833
}
3934
}

0 commit comments

Comments
 (0)