Ionic native geolocation not working

Hi,
I am tried to get user’s current location. In ios working fine but in android if location(GPS) is off i am not getting any error.

is there any way to check location(GPS) is ON or not?