title: Facebook for Flutter App Crashes on IOS and works fine on Android
body: <p>App for unknown Reasons Crashes on pressing on facebook login button for IOS but it's working perfectly on android for unknown reasons ,, if anyone faced this problem please tell how to you solved it</p>
  
  <p>here is the error</p>
  
  <pre><code>*** First throw call stack:
  (
      0   CoreFoundation                      0x000000010ad5229b __exceptionPreprocess + 331
      1   libobjc.A.dylib                     0x000000010a2ee735 objc_exception_throw + 48
      2   FBSDKCoreKit                        0x0000000107cee01e +[FBSDKInternalUtility validateURLSchemes] + 398
      3   FBSDKLoginKit                       0x0000000107df490e -[FBSDKLoginManager logInParametersWithPermissions:serverConfiguration:] + 110
      4   FBSDKLoginKit                       0x0000000107df53d7 -[FBSDKLoginManager logInWithBehavior:] + 103
      5   FBSDKLoginKit                       0x0000000107df5157 -[FBSDKLoginManager logInWithPermissions:handler:] + 391
      6   FBSDKLoginKit                       0x0000000107df2deb -[FBSDKLoginManager logInWithReadPermissions:fromViewController:handler:] + 395
      7   flutter_facebook_login &lt;…&gt;
  Lost connection to device.`
  </code></pre>
  
  <p>Info.plist</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
  &lt;plist version="1.0"&gt;
      &lt;dict&gt;
          &lt;key&gt;CFBundleDevelopmentRegion&lt;/key&gt;
          &lt;string&gt;en&lt;/string&gt;
          &lt;key&gt;CFBundleExecutable&lt;/key&gt;
          &lt;string&gt;$(EXECUTABLE_NAME)&lt;/string&gt;
          &lt;key&gt;CFBundleIdentifier&lt;/key&gt;
          &lt;string&gt;$(PRODUCT_BUNDLE_IDENTIFIER)&lt;/string&gt;
          &lt;key&gt;CFBundleInfoDictionaryVersion&lt;/key&gt;
          &lt;string&gt;6.0&lt;/string&gt;
          &lt;key&gt;CFBundleName&lt;/key&gt;
          &lt;string&gt;fbTestingApp&lt;/string&gt;
          &lt;key&gt;CFBundlePackageType&lt;/key&gt;
          &lt;string&gt;APPL&lt;/string&gt;
          &lt;key&gt;CFBundleShortVersionString&lt;/key&gt;
          &lt;string&gt;$(FLUTTER_BUILD_NAME)&lt;/string&gt;
          &lt;key&gt;CFBundleSignature&lt;/key&gt;
          &lt;string&gt;????&lt;/string&gt;
          &lt;key&gt;CFBundleVersion&lt;/key&gt;
          &lt;string&gt;$(FLUTTER_BUILD_NUMBER)&lt;/string&gt;
          &lt;key&gt;LSRequiresIPhoneOS&lt;/key&gt;
          &lt;true /&gt;
          &lt;key&gt;UILaunchStoryboardName&lt;/key&gt;
          &lt;string&gt;LaunchScreen&lt;/string&gt;
          &lt;key&gt;UIMainStoryboardFile&lt;/key&gt;
          &lt;string&gt;Main&lt;/string&gt;
          &lt;key&gt;UISupportedInterfaceOrientations&lt;/key&gt;
          &lt;array&gt;
              &lt;string&gt;UIInterfaceOrientationPortrait&lt;/string&gt;
              &lt;string&gt;UIInterfaceOrientationLandscapeLeft&lt;/string&gt;
              &lt;string&gt;UIInterfaceOrientationLandscapeRight&lt;/string&gt;
          &lt;/array&gt;
          &lt;key&gt;UISupportedInterfaceOrientations~ipad&lt;/key&gt;
          &lt;array&gt;
              &lt;string&gt;UIInterfaceOrientationPortrait&lt;/string&gt;
              &lt;string&gt;UIInterfaceOrientationPortraitUpsideDown&lt;/string&gt;
              &lt;string&gt;UIInterfaceOrientationLandscapeLeft&lt;/string&gt;
              &lt;string&gt;UIInterfaceOrientationLandscapeRight&lt;/string&gt;
          &lt;/array&gt;
          &lt;key&gt;UIViewControllerBasedStatusBarAppearance&lt;/key&gt;
          &lt;false /&gt;
  
          &lt;!-- Facebook Login configuration --&gt;
          &lt;key&gt;CFBundleURLTypes&lt;/key&gt;
          &lt;array&gt;
              &lt;dict&gt;
                  &lt;key&gt;CFBundleURLSchemes&lt;/key&gt;
                  &lt;array&gt;
                      &lt;string&gt;fb2443122242373229&lt;/string&gt;
                  &lt;/array&gt;
              &lt;/dict&gt;
          &lt;/array&gt;
          &lt;key&gt;FacebookAppID&lt;/key&gt;
          &lt;string&gt;2443122242373229&lt;/string&gt;
          &lt;key&gt;FacebookDisplayName&lt;/key&gt;
          &lt;string&gt;fbTestingApp&lt;/string&gt;
  
          &lt;key&gt;LSApplicationQueriesSchemes&lt;/key&gt;
          &lt;array&gt;
              &lt;string&gt;fbapi&lt;/string&gt;
              &lt;string&gt;fb-messenger-share-api&lt;/string&gt;
              &lt;string&gt;fbauth2&lt;/string&gt;
              &lt;string&gt;fbshareextension&lt;/string&gt;
          &lt;/array&gt;
          &lt;!-- End of Facebook Login configuration --&gt;
  
          &lt;!-- Google Sign-in Section --&gt;
          &lt;key&gt;CFBundleURLTypes&lt;/key&gt;
          &lt;array&gt;
              &lt;dict&gt;
                  &lt;key&gt;CFBundleTypeRole&lt;/key&gt;
                  &lt;string&gt;Editor&lt;/string&gt;
                  &lt;key&gt;CFBundleURLSchemes&lt;/key&gt;
                  &lt;array&gt;
                      &lt;string&gt;com.googleusercontent.apps.572121212121-axxxxp6vaaaadc06aaaaaacd4d7lbnc&lt;/string&gt;
                  &lt;/array&gt;
              &lt;/dict&gt;
          &lt;/array&gt;
          &lt;!-- End of the Google Sign-in Section --&gt;
      &lt;/dict&gt;
  &lt;/plist&gt;
  </code></pre>
  
  <p>anyone faced similar problem ?!</p>
  
  <p>Github Issue Link (<a href="https://github.com/roughike/flutter_facebook_login/issues/64" rel="noreferrer">https://github.com/roughike/flutter_facebook_login/issues/64</a>)</p>