adds location service, fixes typo in dbconfig(ios)