window.close() closes web application

window.close() closes web application

BY 21 May 2019 Web Application Development

App crashes when trying to close a window that was opened.

Afterwards, the app cannot be started again until either the watch is restarted or until some time later.

This has been reported by users on Gear S3 devices on the new Tizen 4.0.04 update.

This was not an issue on older versions of Tizen.

 

Here is a sample of the code below:

win = window.open(oAuthURL, ‘_blank’);

win.close();

 

Any help is appreciated, customers are experiences issues with the app that was just published.

Written by