This commit is contained in:
建喵 2022-08-29 16:06:45 +08:00
parent 2977ed2341
commit 2b53c707c6

View File

@ -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 * @example
* CallParent('Speak', '我愛豬涵') * CallParent('Speak', '我愛豬涵')