@applicaster/quick-brick-native-apple 6.15.0 → 6.15.2

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "QuickBrickApple",
3
- "version": "6.15.0",
3
+ "version": "6.15.2",
4
4
  "platforms": {
5
5
  "ios": "16.0",
6
6
  "tvos": "16.0"
@@ -16,7 +16,7 @@
16
16
  "authors": "Applicaster LTD.",
17
17
  "source": {
18
18
  "git": "https://github.com/applicaster/Zapp-Frameworks.git",
19
- "tag": "@@applicaster/quick-brick-native-apple/6.15.0"
19
+ "tag": "@@applicaster/quick-brick-native-apple/6.15.2"
20
20
  },
21
21
  "requires_arc": true,
22
22
  "source_files": "universal/**/*.{m,swift}",
@@ -7,7 +7,6 @@
7
7
 
8
8
  import os.log
9
9
  import React
10
- import UIKit
11
10
  import XrayLogger
12
11
  import ZappCore
13
12
 
@@ -27,9 +27,7 @@ open class ReactNativeManager: NSObject, UserInterfaceLayerProtocol, UserInterfa
27
27
 
28
28
  var completion: ((_ viewController: UIViewController?, _ error: Error?) -> Void)?
29
29
 
30
- #if os(iOS)
31
- private var exceptionsDelegate: QuickBrickExceptionManagerDelegate?
32
- #endif
30
+ private var exceptionsDelegate: QuickBrickExceptionManagerDelegate?
33
31
 
34
32
  /// url of the react server
35
33
  private var jsBundleUrl: URL? {
@@ -182,15 +180,13 @@ extension ReactNativeManager: RCTBridgeDelegate {
182
180
  return nil
183
181
  }
184
182
 
185
- #if os(iOS)
186
- public func extraModules(for _: RCTBridge) -> [RCTBridgeModule] {
187
- let _exceptionsDelegate = QuickBrickExceptionManagerDelegate()
188
- let rctException = RCTExceptionsManager(delegate: _exceptionsDelegate)
189
- exceptionsDelegate = _exceptionsDelegate
183
+ public func extraModules(for _: RCTBridge) -> [RCTBridgeModule] {
184
+ let _exceptionsDelegate = QuickBrickExceptionManagerDelegate()
185
+ let rctException = RCTExceptionsManager(delegate: _exceptionsDelegate)
186
+ exceptionsDelegate = _exceptionsDelegate
190
187
 
191
- return [rctException]
192
- }
193
- #endif
188
+ return [rctException]
189
+ }
194
190
  }
195
191
 
196
192
  extension ReactNativeManager: QuickBrickManagerDelegate {
@@ -29,8 +29,8 @@ RCT_EXTERN_METHOD(setAppLanguage:(NSString *)language
29
29
  @end
30
30
 
31
31
  @interface RCT_EXTERN_MODULE (AnalyticsBridge, NSObject)
32
- //RCT_EXTERN_METHOD(postEvent:(NSString *)event
33
- // payload:(NSDictionary *)payload);
32
+ RCT_EXTERN_METHOD(postEvent:(NSString *)event
33
+ payload:(NSDictionary *)payload);
34
34
  RCT_EXTERN_METHOD(postTimedEvent:(NSString *)event
35
35
  payload:(NSDictionary *)payload);
36
36
  RCT_EXTERN_METHOD(endTimedEvent:(NSString *)event
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/quick-brick-native-apple",
3
- "version": "6.15.0",
3
+ "version": "6.15.2",
4
4
  "description": "iOS and tvOS native code for QuickBrick applications. This package is used to provide native logic for QuickBrick",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"