Why I can't open a new web page?

I following the Getting Started.

one of the script :
window.open(‘http://google.com’);

I can open it in my website , but I can’t open in my android app.

android app is not a website. there are many things which you need to remember. 1st is adding inappbrowser plugin to open external websites and 2nd is whitelisting the url in config.xml or CSP meta tag.

Thanks , I think I miss the whitelisting