react-native-acoustic-connect-beta 16.0.12 → 16.0.13

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.
@@ -15,7 +15,7 @@
15
15
  "react": "18.2.0",
16
16
  "react-dom": "18.2.0",
17
17
  "react-native": "0.72.10",
18
- "react-native-acoustic-connect-beta": "16.0.12",
18
+ "react-native-acoustic-connect-beta": "16.0.13",
19
19
  "react-native-gesture-handler": "~2.12.0",
20
20
  "react-native-keyboard-aware-scroll-view": "^0.9.5",
21
21
  "react-native-reanimated": "~3.3.0",
@@ -13,7 +13,6 @@ package com.tl.uic.rncxa;
13
13
  import android.app.Activity;
14
14
  import android.app.Application;
15
15
  import android.content.Context;
16
- import android.inputmethodservice.KeyboardView;
17
16
  import android.text.TextUtils;
18
17
  import android.view.View;
19
18
  import android.view.inputmethod.InputMethodManager;
@@ -32,6 +31,7 @@ import com.facebook.react.uimanager.UIManagerModule;
32
31
  import com.ibm.eo.EOCore;
33
32
  import com.ibm.eo.model.EOMonitoringLevel;
34
33
  import com.acoustic.connect.android.connectmod.Connect;
34
+ import com.tl.uic.Tealeaf;
35
35
  import com.tl.uic.model.ScreenviewType;
36
36
  import com.tl.uic.util.LayoutUtil;
37
37
 
@@ -74,16 +74,6 @@ public class RNCxaModule extends ReactContextBaseJavaModule implements Lifecycle
74
74
  updateResult(result, promise);
75
75
  }
76
76
 
77
- /**
78
- * @param readableMap
79
- * @param moduleName
80
- * @param promise
81
- */
82
- @ReactMethod
83
- public void updateConfigWithData(final ReadableMap readableMap, final String moduleName, final Promise promise) {
84
- updateResult(null, promise);
85
- }
86
-
87
77
  /**
88
78
  * Sets the module's boolean configuration item from AdvancedConfig.json or BasicConfig.properties that matches the specified key.
89
79
  *
@@ -196,7 +186,7 @@ public class RNCxaModule extends ReactContextBaseJavaModule implements Lifecycle
196
186
  public void logCustomEvent(final String eventName, final ReadableMap readableMap, final int logLevel, final Promise promise) {
197
187
  HashMap<String, String> map = new HashMap<>();
198
188
 
199
- // Convert to conform with React-Native MAP type
189
+ // Convert to conform with React-Native MAP type
200
190
  for (Map.Entry<String, Object> entry : readableMap.toHashMap().entrySet()) {
201
191
  map.put(entry.getKey(), entry.getValue().toString());
202
192
  }
@@ -279,8 +269,7 @@ public class RNCxaModule extends ReactContextBaseJavaModule implements Lifecycle
279
269
  if (hasFocus) {
280
270
  InputMethodManager imm = (InputMethodManager) v.getContext().getSystemService(Context.INPUT_METHOD_SERVICE);
281
271
  imm.showSoftInput(v, InputMethodManager.SHOW_FORCED);
282
- // TODO update class
283
- KeyboardView keyboardView = new KeyboardView(v.getContext().getApplicationContext(), null);
272
+ com.tl.uic.util.keyboardview.KeyboardView keyboardView = new com.tl.uic.util.keyboardview.KeyboardView(v.getContext().getApplicationContext(), null);
284
273
 
285
274
  if (TextUtils.isEmpty(accessibilityID)) {
286
275
  Connect.INSTANCE.logEvent(keyboardView, Connect.TLF_UI_KEYBOARD_DID_SHOW_NOTIFICATION);
@@ -294,7 +283,7 @@ public class RNCxaModule extends ReactContextBaseJavaModule implements Lifecycle
294
283
  InputMethodManager imm = (InputMethodManager) v.getContext().getSystemService(Context.INPUT_METHOD_SERVICE);
295
284
  imm.hideSoftInputFromWindow(v.getWindowToken(), 0);
296
285
 
297
- KeyboardView keyboardView = new KeyboardView(v.getContext().getApplicationContext(), null);
286
+ com.tl.uic.util.keyboardview.KeyboardView keyboardView = new com.tl.uic.util.keyboardview.KeyboardView(v.getContext().getApplicationContext(), null);
298
287
 
299
288
  if (TextUtils.isEmpty(accessibilityID)) {
300
289
  Connect.INSTANCE.logEvent(keyboardView, Connect.TLF_UI_KEYBOARD_DID_HIDE_NOTIFICATION);
@@ -511,7 +500,8 @@ public class RNCxaModule extends ReactContextBaseJavaModule implements Lifecycle
511
500
  */
512
501
  @Override
513
502
  public void onHostDestroy() {
514
- // TODO fix
503
+ // TODO fix
504
+ Tealeaf.onDestroy(getCurrentActivity(), null);
515
505
  // Connect.INSTANCE.onDestroy(getCurrentActivity(), null);
516
506
  }
517
507
  }
package/package.json CHANGED
@@ -38,5 +38,5 @@
38
38
  "verifyConnectSetup": "node scripts/verifyConnectSetup.js $INIT_CWD"
39
39
  },
40
40
  "summary": "react-native ios android tealeaf connect cxa wxca er enhanced-replay",
41
- "version": "16.0.12"
41
+ "version": "16.0.13"
42
42
  }