diff --git a/lib/utils/cache-browser.js b/lib/utils/cache-browser.js
index <HASH>..<HASH> 100644
--- a/lib/utils/cache-browser.js
+++ b/lib/utils/cache-browser.js
@@ -6,10 +6,11 @@ import md5 from './md5';
 import configDefault from '../config-default.js';
 
 if (typeof self === 'undefined') {
-  throw 'IndexedDB is available only in Browser ENV';
+  console.log('IndexedDB is available only in Browser ENV');
 }
 
-const indexedDBAvailable = 'indexedDB' in self;
+const indexedDBAvailable = typeof self !== 'undefined' && 'indexedDB' in self
+
 let cachingEnabled = true;
 
 if (!indexedDBAvailable) {
fix issue #<I>

so can be used with react-native