title: Method not supported on this platform
body: <p>I'm using forge.prefs.get to fetch a cached user token and it works fine in iOs and web. I'm using backbone.js to render everything.
  In Android, I get this error when trying to use the same call:</p>
  
  <pre><code>[DEBUG] Native call prefs.get with task.params: {"key":"user"}
  [DEBUG] Native call notification.hideLoading with task.params: {}
  [INFO] --------- beginning of /dev/log/system
  [DEBUG] Returned: {"content":{"message":"Method not supported on this platform","type":"UNAVAILABLE","subtype":null},"callid":"4B01A334-2DC4-4511-A029-2C9D9B131D8C","status":"error"}
  </code></pre>
  
  <p>This is what I get when running the emulator. If I compile an APK and install it the code simply fails silently and the user is stuck on the login screen.</p>
  
  <p>This is the code I use to fetch the info about the user:</p>
  
  <pre><code>     forge.prefs.get('user', function(user){ //success
        if(user === null){
          alert('USER not found');
          App.ViewManager.Login();
        }else{
          var u = JSON.parse(user);
          forge.logging.info(u);
          forge.logging.info(u.authentication_token);
          App.Utils.authToken = u.authentication_token;
          App.ViewManager.Companies();
        }
      })
  </code></pre>
  
  <p>And this is used to store the data:</p>
  
  <pre><code>forge.prefs.set('user', JSON.stringify(data), function(){},function(){});
  </code></pre>
  
  <p>Again, this works perfectly in iOS and web versions. Any ideas about why this happens?</p>
  
  <p>I'm using android 4.4 on the emulator, Trigger toolkit version 2.1.3 and the prefs module is version 2.0</p>