title: Does firebase-simple-login persistance work with cordova/android hybrid app?
body: <p>I am trying to change my app over to use firebase-simple-login and use within a hybrid mobile app using cordova/ionic.  I am having an issue with persistance.   I have looked at the firebase-simple-login.js code and it appears that the library is dependent upon BOTH cookies and localStorage being available:</p>
  
  <pre><code>fb.simplelogin.SessionStore_.prototype.get = function() {
      if (hasLocalStorage) {
          try {
              var a = goog.net.cookies.get(encryptionStorageKey),
                  d = localStorage.getItem(sessionPersistentStorageKey);
              if (a &amp;&amp; d)  return fb.simplelogin.util.json.parse(sjcl.decrypt(a, fb.simplelogin.util.json.parse(d)))
          } catch (e) {
          }
          return null
      }
  };
  </code></pre>
  
  <p>Debugging this, I see that d is returned successfully but when running as a native install using cordova on android, a is not set but d is.  So,  persistence is never successful.    </p>
  
  <p>FYI,  I have InAppBrowser plugin installed and bez4pieci.cookies installed.  </p>
  
  <p>Is the problem that I "should" be able to get cookie to resolve on when running natively?  It currently does not.  At least in a way that firebase expects.</p>