title: phonegap-facebook-plugin: only works when native FB app is not installed (Android)
body: <p>I'm using this plugin to have a facebook-login option in my Phonegap app: 
  <a href="https://github.com/phonegap/phonegap-facebook-plugin" rel="nofollow">https://github.com/phonegap/phonegap-facebook-plugin</a>.</p>
  
  <p>I've followed all the steps in the Android 'getting started' and everything works fine when I run the app on a device (emulator and real) that doesn't have the official Facebook app installed. When I run it on a device which has the official Facebook app installed and I click on the login button, the Facebook dialogue appears and it asks for permission. I choose OK, the dialogue disappears and nothing happens. No error or other alert appears and I'm not logged in neither.</p>
  
  <p>How can I fix this?</p>
  
  <p>The javascript:</p>
  
  <pre><code>function logout() {
      FB.logout(function(response) {
                alert('logged out');
                });
  }
  
  
  function logIn() {
  
       try {
            FB.init({ appId: "*****************", nativeInterface: CDV.FB, useCachedDialogs: false });
  
            } catch (e) 
            {
            alert("error");
            }
  
      FB.login(
               function(response) {
               if (response.authResponse) { 
  
                // not invoked
                alert('logged in');      
  
  
               } else {
                // not invoked
               alert('error');
               }
               },
               { scope: "email" }
               );
  
  }
  </code></pre>