- XuqmSDK.initialize(appId, serverUrl): fetches config from tenant platform - ImSDK: sendImageMessage/sendVideoMessage/sendAudioMessage/sendFileMessage - upload.ts: FormData upload to file-service with Bearer auth - device.ts: deviceId (UUID), brand→pushVendor detection, platform info - ScaledImage component: aspect-ratio bounded image rendering - WatermelonDB schema v2: is_muted, is_pinned on conversations - subscribeConversations: reactive WatermelonDB observable - searchMessages: keyword/date/chat-type/target filtering Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
29 行
773 B
JSON
29 行
773 B
JSON
{
|
|
"name": "@xuqm/rn-sdk",
|
|
"version": "0.2.0",
|
|
"description": "XuqmGroup React Native SDK — meta-package (IM, Push, Update, Common)",
|
|
"main": "src/index.ts",
|
|
"react-native": "src/index.ts",
|
|
"types": "src/index.ts",
|
|
"private": false,
|
|
"workspaces": ["packages/*"],
|
|
"publishConfig": {
|
|
"registry": "https://nexus.xuqinmin.com/repository/npm-hosted/"
|
|
},
|
|
"scripts": {
|
|
"typecheck": "tsc --noEmit",
|
|
"typecheck:all": "yarn workspaces run typecheck"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=18.0.0",
|
|
"react-native": ">=0.76.0",
|
|
"@react-native-async-storage/async-storage": ">=1.21.0"
|
|
},
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"typescript": "^5.9.3",
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-native": "^0.73.0"
|
|
}
|
|
}
|