Ionic ios getCurrentPosition toast error alert index.html

on android, it works great.

but on ios , has error like below screens
on xcode ,

What is weird is that iphone didn’t ask me to have permission to locate my position ,
on android, it asked me at the first time of launching app