`asyncStorage.setItem('pdfjs.preferences', JSON.stringify(prefObj), resolve);` ?