title: Set Facebook Application ID dynamically in flutter for iOS
body: <p>My iOS application requires multiple Facebook Applications. But, since we have to put the application ID and client ID on the info.plist file. So, it's impossible to switch or change the application ID without a dynamic way.</p>
  <p>As per facebook documentation (<a href="https://developers.facebook.com/docs/reference/ios/3.24/class/FBSettings/" rel="nofollow noreferrer">https://developers.facebook.com/docs/reference/ios/3.24/class/FBSettings/</a>), I found there is a method named <code>setAppID</code>/<code>setDefaultAppID</code>. Through this, I should be able to change the Facebook application ID dynamically. But, in the <strong>FBSDKCoreKit</strong> package, there are no such methods.</p>
  <p>I tried:</p>
  <ul>
  <li><code>FBSDKCoreKit.Settings.setAppID(&quot;appID&quot;)</code> [No such method]</li>
  <li><code>FBSDKCoreKit.Settings().setAppID(&quot;appID&quot;)</code> [No such method]</li>
  <li><code>FBSDKCoreKit.Settings.appId = &quot;appID&quot;</code> [Doesn't work]</li>
  <li><code>FBSDKCoreKit.Settings.shared.appId = &quot;appID&quot;</code> [iOS application crashes]</li>
  </ul>