- 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>
45 行
1.2 KiB
JSON
45 行
1.2 KiB
JSON
{
|
|
"name": "@xuqm/rn-xwebview",
|
|
"version": "0.2.2",
|
|
"description": "XuqmGroup RN SDK — XWebView module",
|
|
"license": "UNLICENSED",
|
|
"main": "src/index.ts",
|
|
"react-native": "src/index.ts",
|
|
"types": "src/index.ts",
|
|
"files": [
|
|
"src"
|
|
],
|
|
"private": false,
|
|
"publishConfig": {
|
|
"registry": "https://nexus.xuqinmin.com/repository/npm-hosted/"
|
|
},
|
|
"scripts": {
|
|
"typecheck": "tsc --noEmit -p tsconfig.json"
|
|
},
|
|
"dependencies": {
|
|
"react-native-blob-util": "^0.24.7",
|
|
"react-native-svg": "^15.15.4",
|
|
"react-native-webview": "^13.16.1"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=18.0.0",
|
|
"react-native": ">=0.76.0",
|
|
"@react-navigation/native": ">=7.0.0",
|
|
"react-native-safe-area-context": ">=4.0.0",
|
|
"@xuqm/rn-common": ">=0.2.2"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@react-native-camera-roll/camera-roll": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^19.0.0",
|
|
"@react-navigation/native": "^7.0.0",
|
|
"@react-native-async-storage/async-storage": "^1.21.0",
|
|
"@react-native-clipboard/clipboard": "^1.16.3",
|
|
"react-native-safe-area-context": "^5.4.0",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|