From 2b53c707c6e70b3fac6a875a6bae36faf4800a78 Mon Sep 17 00:00:00 2001 From: JianMiau Date: Mon, 29 Aug 2022 16:06:45 +0800 Subject: [PATCH] [mod] --- assets/Script/Manager.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/assets/Script/Manager.ts b/assets/Script/Manager.ts index 862d351..ab93178 100644 --- a/assets/Script/Manager.ts +++ b/assets/Script/Manager.ts @@ -77,14 +77,6 @@ export default class Manager extends cc.Component { }); } - protected start(): void { - this.webview.node.on("loaded", () => { - const FCMToken: string = NativeClass.Instance.GetFCMToken(); - console.log(`FCMToken ${FCMToken}`); - NativeClass.Instance.CocosBridge(System_Eevent.SetFCMToken, `"${FCMToken}"`); - }, this); - } - /** 跨版本溝通 * @example * CallParent('Speak', '我愛豬涵')