title: Facebook iOS SDK native login not working
body: <p>I've implemented facebook sdk into my project and everything is setup exactly as shown in guide <a href="https://developers.facebook.com/docs/facebook-login/ios/v2.0" rel="nofollow noreferrer">https://developers.facebook.com/docs/facebook-login/ios/v2.0</a>, including info.plist file.</p>
  
  <p>FacebookAppID, FacebookDisplayName and URL types are set (see image)</p>
  
  <p><img src="https://i.stack.imgur.com/mRnsj.png" alt="Info.plist setup"></p>
  
  <p>Everything is working when I use facebook app login, or browser login, but when I've added account into devide, so iOS native login dialog should be present, nothing happend, log only displays <code>User cancelled</code> every time I press Facebook login button.</p>
  
  <p>I've done several projects before with facebook login implementation and I've not experienced this error. I think I'm missing something but somehow I can't figure. The appId and item 0 with prefix have the same numbers and display name is copied exactly from FB developer.</p>
  
  <p>The strange issue I've noticed here is that when I first install app on device with FB account setup in settings, I can click it once...nothing happend and after second click the application is automatically disabled in Settings > Facebook.</p>
  
  <p><strong>UPDATE</strong>: I was able to login with native login dialog with older version of Facebook SDK (I've just replaced latest SDK with older one and now it works...don't forget to change permissions because latest SDK uses permissions <code>public_profile</code> instead of <code>basic_profile</code> used in older versions of SDK) why native login is not working with latest FB SDK is still a mistery :)</p>