Android splash screen issue

I did something like this.
$ionicPlatform.on(‘resume’, function() {
navigator.spalshscreen.hide();
});
$ionicPlatform.on(‘pause’, function() {
navigator.spalshscreen.show();
});

It works when I press Home button or power button and then resume the app. Still get the same white screen when I press back to exit and relaunch the app. Resume does not get fired. Any thoughts?