flutter_bugly_play 0.1.1+1 icon indicating copy to clipboard operation
flutter_bugly_play: ^0.1.1+1 copied to clipboard

Flutter plugin for Tencent Bugly, Crash monitoring, Crash analysis, exception reporting, application update, data statistics, etc

flutter_bugly_play #

pub package Gitter

腾讯Bugly flutter运营统计插件,带更新功能请至flutter_bugly

支持Android/iOS 运营统计、原生异常上报、flutter异常上报、应用更新 #


一、引入 #

dependencies:
  flutter_bugly_play: lastVersion

二、项目配置 #

在android/app/build.gradle的android下加入

    lintOptions {
        //如打包出现Failed to transform libs.jar to match attributes
        checkReleaseBuilds false
    }
    defaultConfig {
        ndk {
            //设置支持的SO库架构
            abiFilters 'armeabi-v7a'//, 'arm64-v8a', 'x86', 'x86_64'
        }
    }

三、使用 #

import 'package:flutter_bugly/flutter_bugly.dart';

//使用flutter异常上报
void main()=>FlutterBugly.postCatchedException((){
  runApp(MyApp());
});

FlutterBugly.init(androidAppId: "your android app id",iOSAppId: "your iOS app id");

四、release打包(Android) #

64-bit

flutter build apk --release --target-platform android-arm64

32-bit(目前配合armeabi-v7a可以打出32位64位通用包)

flutter build apk --release --target-platform android-arm

五、支持属性(Android) #

 String channel, //自定义渠道标识
 int initDelay = 0, //延迟初始化,单位秒

 FlutterBugly.setUserId("user id");
 FlutterBugly.putUserData(key: "key", value: "value");
 FlutterBugly.setUserTag(int tag);
0
likes
120
pub points
54%
popularity

Publisher

unverified uploader

Flutter plugin for Tencent Bugly, Crash monitoring, Crash analysis, exception reporting, application update, data statistics, etc

Homepage

Documentation

API reference

License

Icon for licenses.unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_bugly_play