Giter Club home page Giter Club logo

react-native-vk-bugly's Introduction

react-native-vk-bugly

安装

yarn add react-native-vk-bugly

react-native link react-native-vk-bugly

使用

import Bugly from 'react-native-vk-bugly';

// 设置AppID
let buglyAppId = Platform.select({
  ios: "745756234534241",
  android: "34861783241672534"
});

// 配置参数
let buglyConfig = {
    
    /** SDK Debug信息开关, 默认关闭*/
        debugMode: false,
    
        /** 设置自定义渠道标识*/
        channel: 'react-native',
    
        /** 设置自定义版本号*/
        version: '1.0.0',
    
        /** 设置自定义设备唯一标识*/
        deviceIdentifier: 'abcdefg',
    
        /** 卡顿监控开关,默认关闭*/
        blockMonitorEnable: false,
    
        /** 卡顿监控判断间隔,单位为秒*/
        blockMonitorTimeout: 1,
    
        /** 控制台日志上报开关,默认开启*/
        consolelogEnable: false
    
};

// 初始化Bugly
Bugly.startWithAppId(buglyAppId, buglyConfig);

// 设置用户标识
Bugly.setUserIdentifier("userId");

// 更新版本信息
Bugly.updateAppVersion("1.0.0");

// 上传自定义信息
Bugly.setUserValue("value", "key");

// 设置标签
Bugly.setTag(123);

react-native-vk-bugly's People

Contributors

vickness avatar weike886 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

react-native-vk-bugly's Issues

没有配置符号表么?

我试了一下,崩溃列表的错误还是Java错误,没有js层的错误,不能具体定位rn到底崩溃在哪里

0.60+支持autolink吗?

react-native 0.60以后的版本支持autolink,我看了一下文档现在好像是需要手动link?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.