We use neutralino.js to open a remote page by point the url from neutralino.config.json to our page and also set "enableNativeAPI": true
Our index.html of the remote page:
<!doctype html>
<html lang="en">
<head>
<title>Remote Neutralino Page</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
</head>
<body>
<div id="root"></div>
<script type="text/javascript" src="neutralino.js"></script>
<script>
Neutralino.init();
Neutralino.window.setTitle('This is neutralinojs');
</script>
</body>
</html>
The neutralinojs object is available, but invoking its methods would not do anything.
Does anyone have the same issue? Please help!!! Appreciated.