@applicaster/quick-brick-native-apple 6.9.3 → 6.9.4

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.9.3",
3
+ "version": "6.9.4",
4
4
  "platforms": {
5
5
  "ios": "14.0",
6
6
  "tvos": "14.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.9.3"
19
+ "tag": "@@applicaster/quick-brick-native-apple/6.9.4"
20
20
  },
21
21
  "requires_arc": true,
22
22
  "source_files": "universal/**/*.{m,swift}",
@@ -67,8 +67,14 @@ open class ReactNativeManager: NSObject, UserInterfaceLayerProtocol, UserInterfa
67
67
 
68
68
  // MARK: UserInterfaceLayerDelegate
69
69
 
70
- public var applicationDelegate: UIApplicationDelegate?
71
- public var userNotificationCenterDelegate: UNUserNotificationCenterDelegate?
70
+ public weak var applicationDelegate: UIApplicationDelegate?
71
+ public weak var userNotificationCenterDelegate: UNUserNotificationCenterDelegate?
72
+
73
+ deinit {
74
+ if let reactBridge = reactRootView?.bridge {
75
+ reactBridge.invalidate()
76
+ }
77
+ }
72
78
 
73
79
  // MARK: UserInterfaceLayerProtocol
74
80
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/quick-brick-native-apple",
3
- "version": "6.9.3",
3
+ "version": "6.9.4",
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"