react-native-instantpay-code-push 1.2.1 → 1.2.3

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.
@@ -14,8 +14,14 @@ Pod::Spec.new do |s|
14
14
  s.source = { :git => "https://github.com/InstantPay/react-native-instantpay-code-push.git", :tag => "#{s.version}" }
15
15
 
16
16
  s.source_files = "ios/**/*.{h,m,mm,swift,cpp}"
17
+ s.public_header_files = "ios/**/*.h"
17
18
  s.private_header_files = "ios/**/*.h"
18
19
 
20
+ s.pod_target_xcconfig = {
21
+ "DEFINES_MODULE" => "YES",
22
+ "OTHER_SWIFT_FLAGS" => "-enable-experimental-feature AccessLevelOnImport"
23
+ }
24
+
19
25
  # SWCompression dependency for ZIP/TAR/GZIP/Brotli extraction support
20
26
  # Native Compression framework is used for GZIP and Brotli decompression
21
27
  s.dependency "SWCompression", "~> 4.8.0"
@@ -54,7 +54,7 @@ NSNotificationName const IpayCodePushDownloadDidFinishNotification = @"IpayCodeP
54
54
  [[NSNotificationCenter defaultCenter] removeObserver:self];
55
55
  }
56
56
 
57
- //RCT_EXPORT_MODULE();
57
+ RCT_EXPORT_MODULE();
58
58
 
59
59
  #pragma mark - Singleton Instance
60
60
 
@@ -341,9 +341,9 @@ NSNotificationName const IpayCodePushDownloadDidFinishNotification = @"IpayCodeP
341
341
  return std::make_shared<facebook::react::NativeInstantpayCodePushSpecJSI>(params);
342
342
  }
343
343
 
344
- + (NSString *)moduleName
345
- {
346
- return @"InstantpayCodePush";
347
- }
344
+ //+ (NSString *)moduleName
345
+ //{
346
+ // return @"InstantpayCodePush";
347
+ //}
348
348
 
349
349
  @end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-instantpay-code-push",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "description": "React Native plugin for the CodePush service",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",