@circle-fin/w3s-pw-react-native-sdk 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -81,11 +81,13 @@ Add below links at tne top of `ios/Podfile`:
81
81
  ```ruby
82
82
  source 'https://github.com/circlefin/w3s-ios-sdk.git'
83
83
  source 'https://cdn.cocoapods.org/'
84
+
85
+ platform :ios, '13.4'
84
86
  ```
85
- Declare static link as below:
87
+ Declare dynamic link as below:
86
88
  ```ruby
87
89
  target 'W3sSampleWallet' do
88
- use_frameworks! :linkage => :static
90
+ use_frameworks!
89
91
  end
90
92
  ```
91
93
  And add the following `post_install` hook:
@@ -95,9 +97,7 @@ post_install do |installer|
95
97
  target.build_configurations.each do |config|
96
98
  config.build_settings["ONLY_ACTIVE_ARCH"] = "NO"
97
99
  config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES'
98
- end
99
- installer.pods_project.build_configurations.each do |config|
100
- config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
100
+ config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
101
101
  end
102
102
  end
103
103
  end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@circle-fin/w3s-pw-react-native-sdk",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "React Native SDK for Circle Programmable Wallet",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -1,40 +0,0 @@
1
- require "json"
2
-
3
- package = JSON.parse(File.read(File.join(__dir__, "package.json")))
4
- folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
5
-
6
- Pod::Spec.new do |s|
7
- s.name = "circlefin-programmablewallet-rn-sdk"
8
- s.version = package["version"]
9
- s.summary = package["description"]
10
- s.homepage = package["homepage"]
11
- s.license = package["license"]
12
- s.authors = package["author"]
13
-
14
- s.platforms = { :ios => "11.0" }
15
- s.source = { :git => package["repository"], :tag => "#{s.version}" }
16
-
17
- s.source_files = "ios/**/*.{h,m,mm,swift}"
18
- s.dependency 'CircleProgrammableWalletSDK', '1.0.12'
19
- # Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
20
- # See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.
21
- if respond_to?(:install_modules_dependencies, true)
22
- install_modules_dependencies(s)
23
- else
24
- s.dependency "React-Core"
25
- # Don't install the dependencies when we run `pod install` in the old architecture.
26
- if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
27
- s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
28
- s.pod_target_xcconfig = {
29
- "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"",
30
- "OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1",
31
- "CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
32
- }
33
- s.dependency "React-Codegen"
34
- s.dependency "RCT-Folly"
35
- s.dependency "RCTRequired"
36
- s.dependency "RCTTypeSafety"
37
- s.dependency "ReactCommon/turbomodule/core"
38
- end
39
- end
40
- end