- xwebview: 下载支持公共Downloads/相册(CameraRoll懒加载)/JS进度/openFile;XWebViewView 新增内联 config prop(同屏多实例不污染全局) - bugcollect: startCapture 自动启用 HttpInterceptor + 按指纹滑动窗口限频 + setSampleRate 采样(降低服务端存储压力) - update: ignoreAppVersion/clearIgnoredAppVersion/getIgnoredAppVersion 客户端忽略版本(强制更新除外) - common/metro: withXuqmConfig 自动链式 withBugCollect(Release 包 sourcemap 自动上传) - push: 桥接完整原生 sdk-push(Android Kotlin + iOS Swift + JS 薄层),删除旧反射实现;单一 XuqmSDK.setUserInfo 驱动厂商检测/token/绑定 Co-Authored-By: Claude <noreply@anthropic.com>
48 行
1.1 KiB
Groovy
48 行
1.1 KiB
Groovy
buildscript {
|
||
repositories {
|
||
google()
|
||
mavenCentral()
|
||
maven { url "https://nexus.xuqinmin.com/repository/android/" }
|
||
}
|
||
dependencies {
|
||
classpath("com.android.tools.build:gradle:8.1.0")
|
||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.24")
|
||
}
|
||
}
|
||
|
||
apply plugin: "com.android.library"
|
||
apply plugin: "org.jetbrains.kotlin.android"
|
||
|
||
android {
|
||
compileSdkVersion 34
|
||
namespace "com.xuqm.push"
|
||
|
||
defaultConfig {
|
||
minSdkVersion 24
|
||
targetSdkVersion 34
|
||
}
|
||
|
||
compileOptions {
|
||
sourceCompatibility JavaVersion.VERSION_17
|
||
targetCompatibility JavaVersion.VERSION_17
|
||
}
|
||
|
||
kotlinOptions {
|
||
jvmTarget = "17"
|
||
}
|
||
}
|
||
|
||
repositories {
|
||
mavenCentral()
|
||
google()
|
||
maven { url "https://nexus.xuqinmin.com/repository/android/" }
|
||
}
|
||
|
||
dependencies {
|
||
implementation "com.facebook.react:react-android"
|
||
// 桥接完整原生 sdk-push(带出 sdk-core)。版本须与 XuqmGroup-AndroidSDK/gradle.properties
|
||
// 的 SDK_PUSH_VERSION / SDK_CORE_VERSION 保持一致;host app 通常已含,Gradle 去重。
|
||
implementation "com.xuqm:sdk-push:1.1.3"
|
||
implementation "com.xuqm:sdk-core:1.1.6-SNAPSHOT"
|
||
}
|