Issue has been fixed. Cordova plugin was causing this.
Keyboard is auto closing in Samsung Galaxy S3. I am using latest version of cordova and ionic. It is working well in all other devices.
I have tried ionic keyboard show method. But keyboard opens up only for 1 second.
Any help would be appreciated.