@multiplayer-app/session-recorder-react-native 1.0.1-beta.8 → 1.0.1-beta.9

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,15 +14,9 @@ Pod::Spec.new do |s|
14
14
  s.source = { :git => "https://github.com/multiplayer-app/multiplayer-session-recorder-javascript.git", :tag => "#{s.version}" }
15
15
 
16
16
  s.source_files = "ios/**/*.{h,m,mm,swift}"
17
+ s.swift_version = "5.0"
17
18
  s.requires_arc = true
18
19
 
19
20
  s.dependency "React-Core"
20
21
  s.dependency "React"
21
- s.dependency "React-Codegen"
22
-
23
- # Turbo Module support
24
- s.pod_target_xcconfig = {
25
- "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/React-Core/React\"",
26
- "DEFINES_MODULE" => "YES"
27
- }
28
22
  end
@@ -3,7 +3,7 @@ import React
3
3
  import WebKit
4
4
 
5
5
  @objc(SessionRecorderNative)
6
- class SessionRecorderNative: RCTEventEmitter, UIGestureRecognizerDelegate, SessionRecorderNativeSpec {
6
+ class SessionRecorderNative: RCTEventEmitter, UIGestureRecognizerDelegate {
7
7
 
8
8
  // Configuration options
9
9
  private var maskTextInputs: Bool = true
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@multiplayer-app/session-recorder-react-native",
3
- "version": "1.0.1-beta.8",
3
+ "version": "1.0.1-beta.9",
4
4
  "description": "Multiplayer Fullstack Session Recorder for React Native",
5
5
  "author": {
6
6
  "name": "Multiplayer Software, Inc.",
7
7
  "url": "https://www.multiplayer.app"
8
8
  },
9
9
  "license": "MIT",
10
+ "homepage": "https://github.com/multiplayer-app/multiplayer-session-recorder-javascript",
10
11
  "bugs": {
11
12
  "url": "https://github.com/multiplayer-app/multiplayer-session-recorder-javascript/issues"
12
13
  },
@@ -1,55 +0,0 @@
1
- import Foundation
2
- import React
3
-
4
- @objc(SessionRecorderNativeSpec)
5
- class SessionRecorderNativeSpec: NSObject, RCTTurboModule {
6
-
7
- @objc static func moduleName() -> String! {
8
- return "SessionRecorderNative"
9
- }
10
-
11
- @objc static func requiresMainQueueSetup() -> Bool {
12
- return true
13
- }
14
-
15
- @objc func captureAndMask(_ resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock) {
16
- // Implementation will be provided by the actual module
17
- reject("NOT_IMPLEMENTED", "Method not implemented", nil)
18
- }
19
-
20
- @objc func captureAndMaskWithOptions(_ options: NSDictionary, resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock) {
21
- // Implementation will be provided by the actual module
22
- reject("NOT_IMPLEMENTED", "Method not implemented", nil)
23
- }
24
-
25
- @objc func startGestureRecording(_ resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock) {
26
- // Implementation will be provided by the actual module
27
- reject("NOT_IMPLEMENTED", "Method not implemented", nil)
28
- }
29
-
30
- @objc func stopGestureRecording(_ resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock) {
31
- // Implementation will be provided by the actual module
32
- reject("NOT_IMPLEMENTED", "Method not implemented", nil)
33
- }
34
-
35
- @objc func isGestureRecordingActive(_ resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock) {
36
- // Implementation will be provided by the actual module
37
- reject("NOT_IMPLEMENTED", "Method not implemented", nil)
38
- }
39
-
40
- @objc func setGestureCallback(_ callback: @escaping RCTResponseSenderBlock) {
41
- // Implementation will be provided by the actual module
42
- }
43
-
44
- @objc func recordGesture(_ gestureType: String, x: NSNumber, y: NSNumber, target: String?, metadata: NSDictionary?) {
45
- // Implementation will be provided by the actual module
46
- }
47
-
48
- @objc func addListener(_ eventName: String) {
49
- // Required for RN event emitter contracts
50
- }
51
-
52
- @objc func removeListeners(_ count: Int) {
53
- // Required for RN event emitter contracts
54
- }
55
- }