applepay-rn 0.0.3 → 0.0.5

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.
@@ -13,8 +13,7 @@ Pod::Spec.new do |s|
13
13
  s.platforms = { :ios => '16.0' }
14
14
  s.source = { :git => "https://github.com/Tap-Payments/ApplePay-RN.git", :tag => "#{s.version}" }
15
15
 
16
- s.source_files = "ios/**/*.{h,m,mm,swift}"
17
- s.private_header_files = "ios/**/*.h"
16
+ s.source_files = "ios/**/*.{m,mm,swift}"
18
17
 
19
18
  s.dependency 'ApplePay-iOS', '0.0.4'
20
19
 
@@ -0,0 +1,14 @@
1
+ //
2
+ // ApplepayRn-Bridging-Header.h
3
+ // Enables Swift-Objective-C bridging for the ApplepayRn module
4
+ //
5
+
6
+ #ifndef ApplepayRn_Bridging_Header_h
7
+ #define ApplepayRn_Bridging_Header_h
8
+
9
+ #import <React/RCTViewComponentView.h>
10
+ #import <React/RCTBridgeModule.h>
11
+ #import <React/RCTEventEmitter.h>
12
+ #import "RCTFabricComponentsPlugins.h"
13
+
14
+ #endif /* ApplepayRn_Bridging_Header_h */
@@ -1,4 +1,5 @@
1
- #import "ApplepayRnView.h"
1
+ #import <React/RCTViewComponentView.h>
2
+ #import <UIKit/UIKit.h>
2
3
 
3
4
  #import <react/renderer/components/NativeApplePayViewSpec/ComponentDescriptors.h>
4
5
  #import <react/renderer/components/NativeApplePayViewSpec/Props.h>
@@ -10,6 +11,9 @@
10
11
 
11
12
  using namespace facebook::react;
12
13
 
14
+ @interface ApplepayRnView : RCTViewComponentView
15
+ @end
16
+
13
17
  @implementation ApplepayRnView {
14
18
  ApplePayBridge * _bridge;
15
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "applepay-rn",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "description": "A React Native wrapper around Tap Payments’ Apple Pay iOS SDK, enabling seamless Apple Pay integration in React Native apps.",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",
@@ -0,0 +1,6 @@
1
+ module.exports = {
2
+ project: {
3
+ ios: {},
4
+ android: {},
5
+ },
6
+ };
@@ -1,14 +0,0 @@
1
- #import <React/RCTViewComponentView.h>
2
- #import <UIKit/UIKit.h>
3
-
4
- #ifndef ApplepayRnView_h
5
- #define ApplepayRnView_h
6
-
7
- NS_ASSUME_NONNULL_BEGIN
8
-
9
- @interface ApplepayRnView : RCTViewComponentView
10
- @end
11
-
12
- NS_ASSUME_NONNULL_END
13
-
14
- #endif /* ApplepayRnView_h */