提交 60bd85ff 编写于 作者: fxy060608's avatar fxy060608

feat(push): getPushCid => getPushClientid

上级 54583394
{"version":3,"sources":["/Users/fxy/Documents/projects/GitHub/uni-app/uni-app-next/packages/playground/uts/nativeplugins/test-uniplugin/android/src/io/dcloud/uniplugin/log.uts"],"names":["log","tag","msg","Log","e"],"mappings":"AAAA;AAAA,OAAgB,gBAAkB,CAAC;AACpB,IAASA,GAAG,CAACC,GAAW,EAAN,MAAM,EAAEC,GAAW,EAAN,MAAM,EAAE;IACpDC,GAAG,CAACC,CAAC,CAACH,GAAG,EAAEC,GAAG,CAAC,CAAC"}
\ No newline at end of file
{"version":3,"sources":["/Users/fxy/Documents/projects/GitHub/uni-app/uni-app-next/packages/playground/uts/nativeplugins/test-uniplugin/android/src/io/dcloud/uniplugin/log.uts"],"names":["log","tag","msg","Log","e"],"mappings":";AAAA,OAAgB,gBAAkB,CAAC;AACpB,IAASA,GAAG,CAACC,GAAW,EAAN,MAAM,EAAEC,GAAW,EAAN,MAAM,EAAE;IACpDC,GAAG,CAACC,CAAC,CAACH,GAAG,EAAEC,GAAG,CAAC,CAAC"}
\ No newline at end of file
{"version":3,"sources":["/Users/fxy/Documents/projects/GitHub/uni-app/uni-app-next/packages/playground/uts/nativeplugins/test-uniplugin/android/src/test.uts"],"names":["log","tag","msg","Log","e"],"mappings":";AAAA,OAAgB,gBAAkB,CAAC;AACpB,IAASA,GAAG,CAACC,GAAW,EAAN,MAAM,EAAEC,GAAW,EAAN,MAAM,EAAE;IACpDC,GAAG,CAACC,CAAC,CAACH,GAAG,EAAEC,GAAG,CAAC,CAAC"}
\ No newline at end of file
{"version":3,"sources":["/Users/fxy/Documents/projects/GitHub/uni-app/uni-app-next/packages/playground/uts/nativeplugins/test-uniplugin/android/src/test.uts"],"names":["log","tag","msg","Log","e"],"mappings":"AAAA;AAAA,OAAgB,gBAAkB,CAAC;AACpB,IAASA,GAAG,CAACC,GAAW,EAAN,MAAM,EAAEC,GAAW,EAAN,MAAM,EAAE;IACpDC,GAAG,CAACC,CAAC,CAACH,GAAG,EAAEC,GAAG,CAAC,CAAC"}
\ No newline at end of file
......@@ -75,7 +75,7 @@ function invokeGetPushCidCallbacks(cid?: string, errMsg?: string) {
getPushCidCallbacks.length = 0
}
export function getPushCid(args: GetPushCidOptions) {
export function getPushClientid(args: GetPushCidOptions) {
if (!isPlainObject(args)) {
args = {}
}
......@@ -86,10 +86,10 @@ export function getPushCid(args: GetPushCidOptions) {
getPushCidCallbacks.push((cid?: string, errMsg?: string) => {
let res: Record<string, unknown>
if (cid) {
res = { errMsg: 'getPushCid:ok', cid }
res = { errMsg: 'getPushClientid:ok', cid }
hasSuccess && success(res)
} else {
res = { errMsg: 'getPushCid:fail' + (errMsg ? ' ' + errMsg : '') }
res = { errMsg: 'getPushClientid:fail' + (errMsg ? ' ' + errMsg : '') }
hasFail && fail(res)
}
hasComplete && complete(res)
......
......@@ -11098,7 +11098,7 @@ function invokeGetPushCidCallbacks(cid, errMsg) {
});
getPushCidCallbacks.length = 0;
}
function getPushCid(args) {
function getPushClientid(args) {
if (!isPlainObject(args)) {
args = {};
}
......@@ -11109,11 +11109,11 @@ function getPushCid(args) {
getPushCidCallbacks.push((cid, errMsg) => {
let res;
if (cid) {
res = { errMsg: 'getPushCid:ok', cid };
res = { errMsg: 'getPushClientid:ok', cid };
hasSuccess && success(res);
}
else {
res = { errMsg: 'getPushCid:fail' + (errMsg ? ' ' + errMsg : '') };
res = { errMsg: 'getPushClientid:fail' + (errMsg ? ' ' + errMsg : '') };
hasFail && fail(res);
}
hasComplete && complete(res);
......@@ -19054,7 +19054,7 @@ var uni$1 = {
setPageMeta: setPageMeta,
getEnterOptionsSync: getEnterOptionsSync,
getLaunchOptionsSync: getLaunchOptionsSync,
getPushCid: getPushCid,
getPushClientid: getPushClientid,
onPushMessage: onPushMessage,
offPushMessage: offPushMessage,
onAppHide: onAppHide,
......
......@@ -121,7 +121,7 @@ export {
setPageMeta,
getEnterOptionsSync,
getLaunchOptionsSync,
getPushCid,
getPushClientid,
onPushMessage,
offPushMessage,
onAppHide,
......
......@@ -44,7 +44,7 @@
"getLocation",
"getNetworkType",
"getProvider",
"getPushCid",
"getPushClientid",
"getRealPath",
"getRecorderManager",
"getRightWindowStyle",
......
......@@ -4599,7 +4599,7 @@ function invokeGetPushCidCallbacks(cid2, errMsg) {
});
getPushCidCallbacks.length = 0;
}
function getPushCid(args) {
function getPushClientid(args) {
if (!isPlainObject(args)) {
args = {};
}
......@@ -4610,10 +4610,10 @@ function getPushCid(args) {
getPushCidCallbacks.push((cid2, errMsg) => {
let res;
if (cid2) {
res = { errMsg: "getPushCid:ok", cid: cid2 };
res = { errMsg: "getPushClientid:ok", cid: cid2 };
hasSuccess && success(res);
} else {
res = { errMsg: "getPushCid:fail" + (errMsg ? " " + errMsg : "") };
res = { errMsg: "getPushClientid:fail" + (errMsg ? " " + errMsg : "") };
hasFail && fail(res);
}
hasComplete && complete(res);
......@@ -20282,7 +20282,7 @@ var api = /* @__PURE__ */ Object.defineProperty({
setPageMeta,
getEnterOptionsSync,
getLaunchOptionsSync,
getPushCid,
getPushClientid,
onPushMessage,
offPushMessage,
onAppHide,
......@@ -22528,4 +22528,4 @@ var index = /* @__PURE__ */ defineSystemComponent({
return openBlock(), createBlock("div", clazz, [loadingVNode]);
}
});
export { $emit, $off, $on, $once, index$8 as Ad, index$7 as AdContentPage, index$6 as AdDraw, index$1 as AsyncErrorComponent, index as AsyncLoadingComponent, index$y as Button, index$5 as Camera, index$w as Canvas, index$u as Checkbox, index$v as CheckboxGroup, index$a as CoverImage, index$b as CoverView, index$t as Editor, index$A as Form, index$s as Icon, index$r as Image, Input, index$z as Label, LayoutComponent, index$4 as LivePlayer, index$3 as LivePusher, Map$1 as Map, MovableArea, MovableView, index$q as Navigator, index$2 as PageComponent, index$9 as Picker, PickerView, PickerViewColumn, index$p as Progress, index$n as Radio, index$o as RadioGroup, ResizeSensor, index$m as RichText, ScrollView, index$l as Slider, Swiper, SwiperItem, index$k as Switch, index$j as Text, index$i as Textarea, UniServiceJSBridge$1 as UniServiceJSBridge, UniViewJSBridge$1 as UniViewJSBridge, index$e as Video, index$h as View, index$d as WebView, addInterceptor, addPhoneContact, arrayBufferToBase64, base64ToArrayBuffer, canIUse, canvasGetImageData, canvasPutImageData, canvasToTempFilePath, chooseFile, chooseImage, chooseLocation, chooseVideo, clearStorage, clearStorageSync, closePreviewImage, closeSocket, connectSocket, createAnimation$1 as createAnimation, createCameraContext, createCanvasContext, createInnerAudioContext, createIntersectionObserver, createLivePlayerContext, createMapContext, createMediaQueryObserver, createSelectorQuery, createVideoContext, cssBackdropFilter, cssConstant, cssEnv, cssVar, downloadFile, getApp$1 as getApp, getAppBaseInfo, getClipboardData, getCurrentPages$1 as getCurrentPages, getDeviceInfo, getEnterOptionsSync, getFileInfo, getImageInfo, getLaunchOptionsSync, getLeftWindowStyle, getLocale, getLocation, getNetworkType, getProvider, getPushCid, getRealPath, getRecorderManager, getRightWindowStyle, getSavedFileInfo, getSavedFileList, getScreenBrightness, getSelectedTextRange$1 as getSelectedTextRange, getStorage, getStorageInfo, getStorageInfoSync, getStorageSync, getSystemInfo, getSystemInfoSync, getTopWindowStyle, getVideoInfo, getWindowInfo, hideKeyboard, hideLeftWindow, hideLoading, hideNavigationBarLoading, hideRightWindow, hideTabBar, hideTabBarRedDot, hideToast, hideTopWindow, interceptors, invokePushCallback, loadFontFace, login, makePhoneCall, navigateBack, navigateTo, offAccelerometerChange, offAppHide, offAppShow, offCompassChange, offError, offNetworkStatusChange, offPageNotFound, offPushMessage, offUnhandledRejection, offWindowResize, onAccelerometerChange, onAppHide, onAppShow, onCompassChange, onError, onGyroscopeChange, onLocaleChange, onMemoryWarning, onNetworkStatusChange, onPageNotFound, onPushMessage, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onTabBarMidButtonTap, onUnhandledRejection, onUserCaptureScreen, onWindowResize, openDocument, openLocation, pageScrollTo, index$f as plugin, preloadPage, previewImage, reLaunch, redirectTo, removeInterceptor, removeSavedFileInfo, removeStorage, removeStorageSync, removeTabBarBadge, request, saveFile, saveImageToPhotosAlbum, saveVideoToPhotosAlbum, scanCode, sendSocketMessage, setClipboardData, setKeepScreenOn, setLeftWindowStyle, setLocale, setNavigationBarColor, setNavigationBarTitle, setPageMeta, setRightWindowStyle, setScreenBrightness, setStorage, setStorageSync, setTabBarBadge, setTabBarItem, setTabBarStyle, setTopWindowStyle, setupApp, setupPage, setupWindow, showActionSheet, showLeftWindow, showLoading, showModal, showNavigationBarLoading, showRightWindow, showTabBar, showTabBarRedDot, showToast, showTopWindow, startAccelerometer, startCompass, startGyroscope, startPullDownRefresh, stopAccelerometer, stopCompass, stopGyroscope, stopPullDownRefresh, switchTab, uni$1 as uni, uploadFile, upx2px, useI18n, useTabBar, vibrateLong, vibrateShort };
export { $emit, $off, $on, $once, index$8 as Ad, index$7 as AdContentPage, index$6 as AdDraw, index$1 as AsyncErrorComponent, index as AsyncLoadingComponent, index$y as Button, index$5 as Camera, index$w as Canvas, index$u as Checkbox, index$v as CheckboxGroup, index$a as CoverImage, index$b as CoverView, index$t as Editor, index$A as Form, index$s as Icon, index$r as Image, Input, index$z as Label, LayoutComponent, index$4 as LivePlayer, index$3 as LivePusher, Map$1 as Map, MovableArea, MovableView, index$q as Navigator, index$2 as PageComponent, index$9 as Picker, PickerView, PickerViewColumn, index$p as Progress, index$n as Radio, index$o as RadioGroup, ResizeSensor, index$m as RichText, ScrollView, index$l as Slider, Swiper, SwiperItem, index$k as Switch, index$j as Text, index$i as Textarea, UniServiceJSBridge$1 as UniServiceJSBridge, UniViewJSBridge$1 as UniViewJSBridge, index$e as Video, index$h as View, index$d as WebView, addInterceptor, addPhoneContact, arrayBufferToBase64, base64ToArrayBuffer, canIUse, canvasGetImageData, canvasPutImageData, canvasToTempFilePath, chooseFile, chooseImage, chooseLocation, chooseVideo, clearStorage, clearStorageSync, closePreviewImage, closeSocket, connectSocket, createAnimation$1 as createAnimation, createCameraContext, createCanvasContext, createInnerAudioContext, createIntersectionObserver, createLivePlayerContext, createMapContext, createMediaQueryObserver, createSelectorQuery, createVideoContext, cssBackdropFilter, cssConstant, cssEnv, cssVar, downloadFile, getApp$1 as getApp, getAppBaseInfo, getClipboardData, getCurrentPages$1 as getCurrentPages, getDeviceInfo, getEnterOptionsSync, getFileInfo, getImageInfo, getLaunchOptionsSync, getLeftWindowStyle, getLocale, getLocation, getNetworkType, getProvider, getPushClientid, getRealPath, getRecorderManager, getRightWindowStyle, getSavedFileInfo, getSavedFileList, getScreenBrightness, getSelectedTextRange$1 as getSelectedTextRange, getStorage, getStorageInfo, getStorageInfoSync, getStorageSync, getSystemInfo, getSystemInfoSync, getTopWindowStyle, getVideoInfo, getWindowInfo, hideKeyboard, hideLeftWindow, hideLoading, hideNavigationBarLoading, hideRightWindow, hideTabBar, hideTabBarRedDot, hideToast, hideTopWindow, interceptors, invokePushCallback, loadFontFace, login, makePhoneCall, navigateBack, navigateTo, offAccelerometerChange, offAppHide, offAppShow, offCompassChange, offError, offNetworkStatusChange, offPageNotFound, offPushMessage, offUnhandledRejection, offWindowResize, onAccelerometerChange, onAppHide, onAppShow, onCompassChange, onError, onGyroscopeChange, onLocaleChange, onMemoryWarning, onNetworkStatusChange, onPageNotFound, onPushMessage, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onTabBarMidButtonTap, onUnhandledRejection, onUserCaptureScreen, onWindowResize, openDocument, openLocation, pageScrollTo, index$f as plugin, preloadPage, previewImage, reLaunch, redirectTo, removeInterceptor, removeSavedFileInfo, removeStorage, removeStorageSync, removeTabBarBadge, request, saveFile, saveImageToPhotosAlbum, saveVideoToPhotosAlbum, scanCode, sendSocketMessage, setClipboardData, setKeepScreenOn, setLeftWindowStyle, setLocale, setNavigationBarColor, setNavigationBarTitle, setPageMeta, setRightWindowStyle, setScreenBrightness, setStorage, setStorageSync, setTabBarBadge, setTabBarItem, setTabBarStyle, setTopWindowStyle, setupApp, setupPage, setupWindow, showActionSheet, showLeftWindow, showLoading, showModal, showNavigationBarLoading, showRightWindow, showTabBar, showTabBarRedDot, showToast, showTopWindow, startAccelerometer, startCompass, startGyroscope, startPullDownRefresh, stopAccelerometer, stopCompass, stopGyroscope, stopPullDownRefresh, switchTab, uni$1 as uni, uploadFile, upx2px, useI18n, useTabBar, vibrateLong, vibrateShort };
......@@ -98,7 +98,7 @@ export {
setPageMeta,
getEnterOptionsSync,
getLaunchOptionsSync,
getPushCid,
getPushClientid,
onPushMessage,
offPushMessage,
onAppHide,
......
......@@ -581,7 +581,7 @@ function invokeGetPushCidCallbacks(cid, errMsg) {
});
getPushCidCallbacks.length = 0;
}
function getPushCid(args) {
function getPushClientid(args) {
if (!isPlainObject(args)) {
args = {};
}
......@@ -592,11 +592,11 @@ function getPushCid(args) {
getPushCidCallbacks.push((cid, errMsg) => {
let res;
if (cid) {
res = { errMsg: 'getPushCid:ok', cid };
res = { errMsg: 'getPushClientid:ok', cid };
hasSuccess && success(res);
}
else {
res = { errMsg: 'getPushCid:fail' + (errMsg ? ' ' + errMsg : '') };
res = { errMsg: 'getPushClientid:fail' + (errMsg ? ' ' + errMsg : '') };
hasFail && fail(res);
}
hasComplete && complete(res);
......@@ -813,7 +813,7 @@ const baseApis = {
getLocale,
setLocale,
onLocaleChange,
getPushCid,
getPushClientid,
onPushMessage,
offPushMessage,
invokePushCallback,
......
......@@ -581,7 +581,7 @@ function invokeGetPushCidCallbacks(cid, errMsg) {
});
getPushCidCallbacks.length = 0;
}
function getPushCid(args) {
function getPushClientid(args) {
if (!isPlainObject(args)) {
args = {};
}
......@@ -592,11 +592,11 @@ function getPushCid(args) {
getPushCidCallbacks.push((cid, errMsg) => {
let res;
if (cid) {
res = { errMsg: 'getPushCid:ok', cid };
res = { errMsg: 'getPushClientid:ok', cid };
hasSuccess && success(res);
}
else {
res = { errMsg: 'getPushCid:fail' + (errMsg ? ' ' + errMsg : '') };
res = { errMsg: 'getPushClientid:fail' + (errMsg ? ' ' + errMsg : '') };
hasFail && fail(res);
}
hasComplete && complete(res);
......@@ -813,7 +813,7 @@ const baseApis = {
getLocale,
setLocale,
onLocaleChange,
getPushCid,
getPushClientid,
onPushMessage,
offPushMessage,
invokePushCallback,
......
......@@ -13,7 +13,7 @@ import {
$emit,
} from '@dcloudio/uni-api/src/service/base/eventBus'
import {
getPushCid,
getPushClientid,
onPushMessage,
offPushMessage,
invokePushCallback,
......@@ -40,7 +40,7 @@ const baseApis = {
getLocale,
setLocale,
onLocaleChange,
getPushCid,
getPushClientid,
onPushMessage,
offPushMessage,
invokePushCallback,
......
......@@ -581,7 +581,7 @@ function invokeGetPushCidCallbacks(cid, errMsg) {
});
getPushCidCallbacks.length = 0;
}
function getPushCid(args) {
function getPushClientid(args) {
if (!isPlainObject(args)) {
args = {};
}
......@@ -592,11 +592,11 @@ function getPushCid(args) {
getPushCidCallbacks.push((cid, errMsg) => {
let res;
if (cid) {
res = { errMsg: 'getPushCid:ok', cid };
res = { errMsg: 'getPushClientid:ok', cid };
hasSuccess && success(res);
}
else {
res = { errMsg: 'getPushCid:fail' + (errMsg ? ' ' + errMsg : '') };
res = { errMsg: 'getPushClientid:fail' + (errMsg ? ' ' + errMsg : '') };
hasFail && fail(res);
}
hasComplete && complete(res);
......@@ -813,7 +813,7 @@ const baseApis = {
getLocale,
setLocale,
onLocaleChange,
getPushCid,
getPushClientid,
onPushMessage,
offPushMessage,
invokePushCallback,
......
......@@ -581,7 +581,7 @@ function invokeGetPushCidCallbacks(cid, errMsg) {
});
getPushCidCallbacks.length = 0;
}
function getPushCid(args) {
function getPushClientid(args) {
if (!isPlainObject(args)) {
args = {};
}
......@@ -592,11 +592,11 @@ function getPushCid(args) {
getPushCidCallbacks.push((cid, errMsg) => {
let res;
if (cid) {
res = { errMsg: 'getPushCid:ok', cid };
res = { errMsg: 'getPushClientid:ok', cid };
hasSuccess && success(res);
}
else {
res = { errMsg: 'getPushCid:fail' + (errMsg ? ' ' + errMsg : '') };
res = { errMsg: 'getPushClientid:fail' + (errMsg ? ' ' + errMsg : '') };
hasFail && fail(res);
}
hasComplete && complete(res);
......@@ -813,7 +813,7 @@ const baseApis = {
getLocale,
setLocale,
onLocaleChange,
getPushCid,
getPushClientid,
onPushMessage,
offPushMessage,
invokePushCallback,
......
......@@ -581,7 +581,7 @@ function invokeGetPushCidCallbacks(cid, errMsg) {
});
getPushCidCallbacks.length = 0;
}
function getPushCid(args) {
function getPushClientid(args) {
if (!isPlainObject(args)) {
args = {};
}
......@@ -592,11 +592,11 @@ function getPushCid(args) {
getPushCidCallbacks.push((cid, errMsg) => {
let res;
if (cid) {
res = { errMsg: 'getPushCid:ok', cid };
res = { errMsg: 'getPushClientid:ok', cid };
hasSuccess && success(res);
}
else {
res = { errMsg: 'getPushCid:fail' + (errMsg ? ' ' + errMsg : '') };
res = { errMsg: 'getPushClientid:fail' + (errMsg ? ' ' + errMsg : '') };
hasFail && fail(res);
}
hasComplete && complete(res);
......@@ -813,7 +813,7 @@ const baseApis = {
getLocale,
setLocale,
onLocaleChange,
getPushCid,
getPushClientid,
onPushMessage,
offPushMessage,
invokePushCallback,
......
......@@ -581,7 +581,7 @@ function invokeGetPushCidCallbacks(cid, errMsg) {
});
getPushCidCallbacks.length = 0;
}
function getPushCid(args) {
function getPushClientid(args) {
if (!isPlainObject(args)) {
args = {};
}
......@@ -592,11 +592,11 @@ function getPushCid(args) {
getPushCidCallbacks.push((cid, errMsg) => {
let res;
if (cid) {
res = { errMsg: 'getPushCid:ok', cid };
res = { errMsg: 'getPushClientid:ok', cid };
hasSuccess && success(res);
}
else {
res = { errMsg: 'getPushCid:fail' + (errMsg ? ' ' + errMsg : '') };
res = { errMsg: 'getPushClientid:fail' + (errMsg ? ' ' + errMsg : '') };
hasFail && fail(res);
}
hasComplete && complete(res);
......@@ -813,7 +813,7 @@ const baseApis = {
getLocale,
setLocale,
onLocaleChange,
getPushCid,
getPushClientid,
onPushMessage,
offPushMessage,
invokePushCallback,
......
......@@ -545,7 +545,7 @@ function invokeGetPushCidCallbacks(cid, errMsg) {
});
getPushCidCallbacks.length = 0;
}
function getPushCid(args) {
function getPushClientid(args) {
if (!isPlainObject(args)) {
args = {};
}
......@@ -556,11 +556,11 @@ function getPushCid(args) {
getPushCidCallbacks.push((cid, errMsg) => {
let res;
if (cid) {
res = { errMsg: 'getPushCid:ok', cid };
res = { errMsg: 'getPushClientid:ok', cid };
hasSuccess && success(res);
}
else {
res = { errMsg: 'getPushCid:fail' + (errMsg ? ' ' + errMsg : '') };
res = { errMsg: 'getPushClientid:fail' + (errMsg ? ' ' + errMsg : '') };
hasFail && fail(res);
}
hasComplete && complete(res);
......@@ -777,7 +777,7 @@ const baseApis = {
getLocale,
setLocale,
onLocaleChange,
getPushCid,
getPushClientid,
onPushMessage,
offPushMessage,
invokePushCallback,
......
......@@ -581,7 +581,7 @@ function invokeGetPushCidCallbacks(cid, errMsg) {
});
getPushCidCallbacks.length = 0;
}
function getPushCid(args) {
function getPushClientid(args) {
if (!isPlainObject(args)) {
args = {};
}
......@@ -592,11 +592,11 @@ function getPushCid(args) {
getPushCidCallbacks.push((cid, errMsg) => {
let res;
if (cid) {
res = { errMsg: 'getPushCid:ok', cid };
res = { errMsg: 'getPushClientid:ok', cid };
hasSuccess && success(res);
}
else {
res = { errMsg: 'getPushCid:fail' + (errMsg ? ' ' + errMsg : '') };
res = { errMsg: 'getPushClientid:fail' + (errMsg ? ' ' + errMsg : '') };
hasFail && fail(res);
}
hasComplete && complete(res);
......@@ -813,7 +813,7 @@ const baseApis = {
getLocale,
setLocale,
onLocaleChange,
getPushCid,
getPushClientid,
onPushMessage,
offPushMessage,
invokePushCallback,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册