Skip to content
Open
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
9 changes: 9 additions & 0 deletions example/react-native/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Spec sources. The default CDN plus Aliyun's repo, which hosts EMASCurl
# (a transitive native dependency of @onekeyfe/react-native-sni-connect).
source 'https://github.com/CocoaPods/Specs.git'
source 'https://github.com/aliyun/aliyun-specs.git'

# Resolve react_native_pods.rb with node to allow for hoisting
ENV['RCT_NEW_ARCH_ENABLED'] = '1'

Expand Down Expand Up @@ -27,6 +32,10 @@ target 'example' do
:app_path => "#{Pod::Config.instance.installation_root}/.."
)

# Enable modular headers for EMASCurl so SniConnect's Swift `import EMASCurl`
# works when building as static libraries (matches app-monorepo).
pod 'EMASCurl', :modular_headers => true

# Copy optional offline TradingView chart material into the app bundle as
# `tradingview-assets/`, preserving the
# directory tree so react-native-chart-webview's WKURLSchemeHandler can serve it.
Expand Down
Loading