UNPKG

react-native-acoustic-connect-beta

Version:

BETA: React native plugin for Acoustic Connect

111 lines (81 loc) 3.55 kB
# react-native-acoustic-connect-beta ## Requirements - React Native v0.76.9 or higher using new architecture - Node 18.0.0 or higher ## Installation ```bash // To add to your package npm add react-native-acoustic-connect-beta react-native-nitro-modules // To install on your application and view debug information during install npm install --foreground-scripts --force ``` ## Troubleshooting ### Issues installing ``` npm add react-native-nitro-modules npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: @expo/webpack-config@19.0.1 npm ERR! Found: expo@52.0.46 npm ERR! node_modules/expo npm ERR! peer expo@"*" from expo-font@13.0.4 npm ERR! node_modules/expo-font npm ERR! expo-font@"~13.0.4" from expo@52.0.46 npm ERR! peer expo-font@"*" from @expo/vector-icons@14.1.0 npm ERR! node_modules/@expo/vector-icons npm ERR! @expo/vector-icons@"^14.0.0" from expo@52.0.46 npm ERR! 1 more (the root project) npm ERR! 1 more (the root project) npm ERR! peer expo@"*" from expo-file-system@18.0.12 npm ERR! node_modules/expo-file-system npm ERR! expo-file-system@"~18.0.12" from expo@52.0.46 npm ERR! 6 more (expo-asset, expo-pwa, expo-keep-awake, expo-constants, ...) npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer expo@"^49.0.7 || ^50.0.0-0" from @expo/webpack-config@19.0.1 npm ERR! node_modules/@expo/webpack-config npm ERR! @expo/webpack-config@"^19.0.1" from the root project npm ERR! npm ERR! Conflicting peer dependency: expo@50.0.21 npm ERR! node_modules/expo npm ERR! peer expo@"^49.0.7 || ^50.0.0-0" from @expo/webpack-config@19.0.1 npm ERR! node_modules/@expo/webpack-config npm ERR! @expo/webpack-config@"^19.0.1" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! npm ERR! For a full report see: npm ERR! .npm/_logs/2025-05-24T00_43_01_748Z-eresolve-report.txt npm ERR! A complete log of this run can be found in: .npm/_logs/2025-05-24T00_43_01_748Z-debug-0.log ``` fix issue or you use the following to solve depencencies issues ``` npm install react-native-nitro-modules --legacy-peer-deps ``` # Old docs to be fixed ## Version Compatibility Warning --- react-native-acoustic-connect-beta version 13.0.0 and up is only compatible with react native 0.60 and up. If you have already installed Node on your system, make sure it is Node 14 or newer. ---- [Overview](https://developer.goacoustic.com/acoustic-exp-analytics/docs/tl-reactnative-sdk-overview) --- --- ## Getting started **This module uses only enhanced replay. [Connect Install Documentation](https://developer.goacoustic.com/acoustic-connect/docs/react-native-integration) --- # Demo ## Sample Code with integrated ### Using NativeBase v3 KitchenSink ![demo TODO fix](https://github.com/go-acoustic/ea_react_native_module_tealeaf/blob/master/Example/nativebase-v3-kitchensink/assets/demo.png) * NativeBase-KitchenSink taken from https://github.com/GeekyAnts/nativebase-v3-kitchensink which is at Example/nativebase-v3-kitchensink. [Installation instructions](https://developer.goacoustic.com/acoustic-exp-analytics/docs/build-the-tl-reactnative-sample-app) --- --- # Notes There are several know issues between npm install versus yarn install. Since yarn is a Facebook tool. It normally has fixes patched for installing dependancies.