[mod]
This commit is contained in:
parent
2977ed2341
commit
2b53c707c6
@ -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', '我愛豬涵')
|
||||||
|
Loading…
Reference in New Issue
Block a user