@applicaster/quick-brick-native-apple 6.2.2 → 6.2.3

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.2.2",
3
+ "version": "6.2.3",
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.2.2"
19
+ "tag": "@@applicaster/quick-brick-native-apple/6.2.3"
20
20
  },
21
21
  "requires_arc": true,
22
22
  "source_files": "universal/**/*.{m,swift}",
@@ -85,6 +85,8 @@ enum Events: String {
85
85
  func setPrefersHomeIndicatorAutoHidden(_ payload: [String: Any])
86
86
 
87
87
  func forceAppReload()
88
+
89
+ func forceAppReloadLanguageSwitch()
88
90
  }
89
91
 
90
92
  @objc(QuickBrickCommunicationModule)
@@ -169,7 +171,7 @@ class ReactNativeCommunicationModule: NSObject, RCTBridgeModule {
169
171
  ReactNativeCommunicationModuleError.unableToSaveToLocalStorage, nil)
170
172
  }
171
173
 
172
- delegateManager.forceAppReload()
174
+ delegateManager.forceAppReloadLanguageSwitch()
173
175
  }
174
176
  }
175
177
  }
@@ -223,4 +223,8 @@ 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
+ }
226
230
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/quick-brick-native-apple",
3
- "version": "6.2.2",
3
+ "version": "6.2.3",
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"