I was able to set for ‘pause’ and ‘resume’
for leaving to background or retreve from background
$ionicPlatform.on(‘pause’, callback);
but how do I know if user turn it off by swiping up or anyhow etc device turned off meaning its completly off.
I was able to set for ‘pause’ and ‘resume’
for leaving to background or retreve from background
$ionicPlatform.on(‘pause’, callback);
but how do I know if user turn it off by swiping up or anyhow etc device turned off meaning its completly off.