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', '我愛豬涵')