jiguang_auth 3.0.2
jiguang_auth: ^3.0.2 copied to clipboard
极光安全认证 Flutter 插件(Android & iOS)
极光安全认证 #
安装 #
在工程 pubspec.yaml 中加入 dependencies
- github 集成
dependencies:
jverify:
git:
url: https://github.com/TeHeal/jiguang_auth.git
ref: main
- pub 集成
dependencies:
jiguang_auth: 3.0.2
配置 #
Android:
在 /android/app/build.gradle 中添加下列代码:
android: {
manifestPlaceholders = [
// 设置manifest.xml中的变量
JPUSH_PKGNAME: applicationId,
JPUSH_APPKEY : "1b5965ba23557bcf384e0b08", // JPush 上注册的包名对应的 AppKey.
JPUSH_CHANNEL: "default_developer", // 默认值即可.
]
}
使用 #
import 'package:jiguang_auth/jiguang_auth.dart';
更新日志