Latitude and longitude in ionic

location is not getting for android device 7.0 and above and iphone 11.0.0. and above in ionic