@applicaster/quick-brick-native-apple 6.1.2 → 6.2.0

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.1.2",
3
+ "version": "6.2.0",
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.1.2"
19
+ "tag": "@@applicaster/quick-brick-native-apple/6.2.0"
20
20
  },
21
21
  "requires_arc": true,
22
22
  "source_files": "universal/**/*.{m,swift}",
@@ -73,7 +73,7 @@ open class ParallaxView: RCTView, ParallaxableView {
73
73
  override open func pressesBegan(_ presses: Set<UIPress>, with event: UIPressesEvent?) {
74
74
  if !isPressActionDisabled {
75
75
  parallaxViewActions.animatePressIn?(self, presses, event, { [unowned self] in
76
- self.delegate?.parallaxViewWillSelected(self)
76
+ delegate?.parallaxViewWillSelected(self)
77
77
 
78
78
  })
79
79
 
@@ -84,7 +84,7 @@ open class ParallaxView: RCTView, ParallaxableView {
84
84
  override open func pressesCancelled(_ presses: Set<UIPress>, with event: UIPressesEvent?) {
85
85
  if !isPressActionDisabled {
86
86
  parallaxViewActions.animatePressOut?(self, presses, event, { [unowned self] in
87
- self.delegate?.parallaxViewDidSelected(self)
87
+ delegate?.parallaxViewDidSelected(self)
88
88
  })
89
89
 
90
90
  super.pressesCancelled(presses, with: event)
@@ -94,7 +94,7 @@ open class ParallaxView: RCTView, ParallaxableView {
94
94
  override open func pressesEnded(_ presses: Set<UIPress>, with event: UIPressesEvent?) {
95
95
  if !isPressActionDisabled {
96
96
  parallaxViewActions.animatePressOut?(self, presses, event, { [unowned self] in
97
- self.delegate?.parallaxViewDidSelected(self)
97
+ delegate?.parallaxViewDidSelected(self)
98
98
  })
99
99
 
100
100
  super.pressesEnded(presses, with: event)
@@ -84,7 +84,7 @@ class OfflineAssetsBridge: NSObject, RCTBridgeModule {
84
84
 
85
85
  dispatchGroup.notify(queue: .main) { [unowned self] in
86
86
  var responseObj: [String: Bool] = [:]
87
- self.tasks.forEach { responseObj[$0.saveTo.absoluteString] = $0.state == .completed }
87
+ tasks.forEach { responseObj[$0.saveTo.absoluteString] = $0.state == .completed }
88
88
  resolver(responseObj)
89
89
  }
90
90
  }
@@ -85,8 +85,6 @@ enum Events: String {
85
85
  func setPrefersHomeIndicatorAutoHidden(_ payload: [String: Any])
86
86
 
87
87
  func forceAppReload()
88
-
89
- func forceAppReloadLanguageSwitch()
90
88
  }
91
89
 
92
90
  @objc(QuickBrickCommunicationModule)
@@ -171,7 +169,7 @@ class ReactNativeCommunicationModule: NSObject, RCTBridgeModule {
171
169
  ReactNativeCommunicationModuleError.unableToSaveToLocalStorage, nil)
172
170
  }
173
171
 
174
- delegateManager.forceAppReloadLanguageSwitch()
172
+ delegateManager.forceAppReload()
175
173
  }
176
174
  }
177
175
  }
@@ -223,8 +223,4 @@ extension ReactNativeManager: QuickBrickManagerDelegate {
223
223
  public func forceAppReload() {
224
224
  EventsBus.post(EventsBus.Event(type: EventsBusType(.forceAppReload)))
225
225
  }
226
-
227
- public func forceAppReloadLanguageSwitch() {
228
- EventsBus.post(EventsBus.Event(type: EventsBusType(.forceAppReloadLanguageSwitch)))
229
- }
230
226
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/quick-brick-native-apple",
3
- "version": "6.1.2",
3
+ "version": "6.2.0",
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"