I am developing a Hybrid app using Cordova/PhoneGap.
While using Twitter login, browser do not close after navigating to success url. This happens only in Samsung S4.
Code is something like this :
To open :
cb = window.open('https://api.twitter.com/oauth/authorize?' + data.text, '_blank', 'location=yes');
To close :
cb.close();
There is no problem in S3.
Any solution or trick to resolve the same will be appreciated.