react-native-acoustic-connect-beta 16.0.20 → 16.0.21

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.20",
18
+ "react-native-acoustic-connect-beta": "16.0.21",
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",
@@ -4,7 +4,6 @@ import {
4
4
  Metrics,
5
5
  initialWindowMetrics as defaultInitialWindowMetrics,
6
6
  } from 'react-native-safe-area-context';
7
- // import { SSRProvider } from '@react-native-aria/utils';
8
7
  import { theme as defaultTheme, ITheme } from './../theme';
9
8
  import type { IColorModeProviderProps } from './color-mode';
10
9
  import HybridProvider from './hybrid-overlay/HybridProvider';
@@ -94,7 +93,6 @@ const NativeBaseProvider = (props: NativeBaseProviderProps) => {
94
93
  <OverlayProvider>
95
94
  <ToastProvider>
96
95
  <InitializeToastRef />
97
- {/* <SSRProvider>{children}</SSRProvider> */}
98
96
  </ToastProvider>
99
97
  </OverlayProvider>
100
98
  </HybridProvider>
@@ -4,13 +4,12 @@ import {
4
4
 
5
5
  Center,
6
6
  } from 'native-base';
7
- import { Connect } from 'react-native-acoustic-connect-beta';
8
7
 
9
- export function Example() {
8
+ import {NativeModules, findNodeHandle} from 'react-native';
9
+ const Connect = NativeModules.RNCxa;
10
10
 
11
- const onSignal = () =>
12
- {
13
- console.debug("text")
11
+ export function Example() {
12
+ const onSignal = () => {
14
13
  const signalObj = {
15
14
  "behaviorType": "orderConfirmation",
16
15
  "orderId": "145667",
@@ -20,14 +19,11 @@ export function Example() {
20
19
  "orderDiscount": "10%",
21
20
  "currency": "USD",
22
21
  }
23
- console.debug("text1")
24
22
  Connect.logSignal(signalObj, 1).then(result =>
25
23
  {
26
- console.debug("text2")
27
24
  console.debug("Result from Signal:" + result)
28
25
  }
29
26
  )
30
- console.debug("text3")
31
27
  }
32
28
  return (
33
29
  <Center>
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.20"
41
+ "version": "16.0.21"
42
42
  }