Basically i am opening a web page in Chat bot which is configured over Line messaging application for signup on auth server and after completing signup i tried to close web view using java script but not able to do this below is my code snippet for closing.
<!DOCTYPE html>
<html>
<head>
<script>
function close(){
window.close();
}
</script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Test Webview Closing</title>
</head>
<body>
<input type="button" value="test" onclick="close()">
</body>
</html>