[Webview Cocos creator 2.1.3]

I have a game creator build on the web(Game A). Now I want to load it into another game(Game B) via webview.
And I want to buy ipa, show Admob on webview (Game A) or call funcation to Game B but I don’t know how to call from webview to native or call funcation in Game B
Thank you very much!

Hi,there is WebView Component Reference document:
https://docs.cocos.com/creator/manual/en/components/webview.html#how-to-interact-with-webview-internal-pages

Maybe it can help you.

Thank you for your feedback,
Can you give me a example code?
I have read a lot of documents, but still do not understand this issue. :frowning: