you have to manully allow location access from phone setting by going to the phone setting > privacy and security > location > Safari/anyother brower.