https://internetchickss.com/building-mobile-apps-that-work-without-a-network/