@applicaster/quick-brick-native-apple 5.13.1 → 5.13.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": "5.13.1",
3
+ "version": "5.13.2",
4
4
  "platforms": {
5
5
  "ios": "12.0",
6
6
  "tvos": "12.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/5.13.1"
19
+ "tag": "@@applicaster/quick-brick-native-apple/5.13.2"
20
20
  },
21
21
  "requires_arc": true,
22
22
  "source_files": "universal/**/*.{m,swift}",
@@ -15,12 +15,9 @@ public let kQBModuleName = "QuickBrickApp"
15
15
  public let suspendApp = "suspend"
16
16
 
17
17
  /// React Native Manager class for Quick Brick
18
- open class ReactNativeManager: NSObject, UserInterfaceLayerProtocol {
18
+ open class ReactNativeManager: NSObject, UserInterfaceLayerProtocol, UserInterfaceLayerDelegate {
19
19
  lazy var logger = Logger.getLogger(for: ReactNativeManagerLogs.subsystem)
20
20
 
21
- public var applicationDelegate: UIApplicationDelegate?
22
- public var userNotificationCenterDelegate: UNUserNotificationCenterDelegate?
23
-
24
21
  static var applicationData: [String: Any] = [:]
25
22
 
26
23
  var launchOptions: [UIApplication.LaunchOptionsKey: Any]?
@@ -67,6 +64,11 @@ open class ReactNativeManager: NSObject, UserInterfaceLayerProtocol {
67
64
  return retVal
68
65
  }
69
66
 
67
+ // MARK: UserInterfaceLayerDelegate
68
+
69
+ public var applicationDelegate: UIApplicationDelegate?
70
+ public var userNotificationCenterDelegate: UNUserNotificationCenterDelegate?
71
+
70
72
  // MARK: UserInterfaceLayerProtocol
71
73
 
72
74
  public required init(launchOptions: [UIApplication.LaunchOptionsKey: Any]?,
@@ -91,9 +93,9 @@ open class ReactNativeManager: NSObject, UserInterfaceLayerProtocol {
91
93
  }
92
94
 
93
95
  #if os(iOS)
94
- public func currentOrientationMask() -> UIInterfaceOrientationMask? {
95
- return rootViewController?.orientationStack.last
96
- }
96
+ public func currentOrientationMask() -> UIInterfaceOrientationMask? {
97
+ return rootViewController?.orientationStack.last
98
+ }
97
99
  #endif
98
100
 
99
101
  // MARK: Public methods
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/quick-brick-native-apple",
3
- "version": "5.13.1",
3
+ "version": "5.13.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"