localStorage / asyncStorage depending on the platform