@sensors.data/react-native-sensors-analytics

神策分析 RN 组件

Usage no npm install needed!

<script type="module">
  import sensorsDataReactNativeSensorsAnalytics from 'https://cdn.skypack.dev/@sensors.data/react-native-sensors-analytics';
</script>

README

1.使用 npm 方式 install 神策 SDK 模块

对于 React Native 开发的应用,可以使用 npm 方式集成神策 SDK RN 模块。

1.1 npm 安装 react-native-sensors-analytics 模块

npm install @sensors.data/react-native-sensors-analytics

1.2 link react-native-sensors-analytics 模块

注意:React Native 0.60 及以上版本会 autolinking,不需要执行下边的 react-native link 命令

react-native link @sensors.data/react-native-sensors-analytics 

详细文档请参考:Android & iOS SDK 在 React Native 中使用说明

License

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.