Fork自 DCloud / uni-app
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
import { initPushNotification } from './route'
// @ts-expect-error uni.invokePushCallback({ type: 'enabled',
offline: true,
})
Promise.resolve().then(() => {
initPushNotification()
plus.push.setAutoNotification && plus.push.setAutoNotification(false)