神策分析 RN 组件
npm install @sensors.data/react-native-sensors-analytics对于 React Native 开发的应用,可以使用 npm 方式集成神策 SDK RN 模块。
``sh`
npm install @sensors.data/react-native-sensors-analytics
react-native-sensors-analytics 模块注意:React Native 0.60 及以上版本会 autolinking,不需要执行下边的 react-native link 命令
`sh``
react-native link @sensors.data/react-native-sensors-analytics
Copyright 2015-2020 Sensors Data Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.