- 新增 handleDownloadRequest() 统一下载处理函数 - 导出 download 相关工具函数 - 更新 rn-update 和 rn-xwebview README Co-Authored-By: Claude <noreply@anthropic.com>
53 行
1.5 KiB
TypeScript
53 行
1.5 KiB
TypeScript
export { XuqmSDK } from './sdk'
|
|
export type { XuqmInitOptions, XuqmUserInfo, DeviceInfo, XuqmConfig } from '@xuqm/rn-common'
|
|
export { getDeviceId, getDeviceInfo, detectPushVendor, setUserId, getUserId, setUserInfo, getUserInfo } from '@xuqm/rn-common'
|
|
export { ScaledImage } from '@xuqm/rn-common'
|
|
export { apiRequest } from '@xuqm/rn-common'
|
|
export { ImSDK, ImClient, ImDatabase, uploadFile } from '@xuqm/rn-im'
|
|
export type {
|
|
ImMessage,
|
|
ImGroup,
|
|
ChatType,
|
|
MsgType,
|
|
MsgStatus,
|
|
ImEventListener,
|
|
SendMessageParams,
|
|
ConversationData,
|
|
HistoryQuery,
|
|
PageResult,
|
|
FriendRequest,
|
|
GroupJoinRequest,
|
|
BlacklistEntry,
|
|
UserProfile,
|
|
} from '@xuqm/rn-im'
|
|
export { PushSDK } from '@xuqm/rn-push'
|
|
export type { PushVendor } from '@xuqm/rn-push'
|
|
export { UpdateSDK } from '@xuqm/rn-update'
|
|
export type { PluginRegistration, PluginMeta, AppUpdateInfo, PluginUpdateInfo, CachedRnBundle, UpdateDownloadProgress } from '@xuqm/rn-update'
|
|
export {
|
|
XWebViewControl,
|
|
XWebViewScreen,
|
|
XWebViewView,
|
|
getXWebViewConfig,
|
|
openXWebView,
|
|
setXWebViewController,
|
|
setXWebViewScanQRCodeHandler,
|
|
handleDownloadRequest,
|
|
fetchDownloadInfo,
|
|
saveBase64File,
|
|
startDownload,
|
|
} from '@xuqm/rn-xwebview'
|
|
export type {
|
|
ScanQRCodeHandler,
|
|
XWebViewClickMenu,
|
|
XWebViewConfig,
|
|
XWebViewControllerAPI,
|
|
XWebViewDownloadDecision,
|
|
XWebViewDownloadProgress,
|
|
XWebViewDownloadRequest,
|
|
XWebViewDownloadResult,
|
|
XWebViewMessageEvent,
|
|
XWebViewPermissionRequest,
|
|
DownloadHandle,
|
|
} from '@xuqm/rn-xwebview'
|