add initial geolocation support for offlineapp