ios – Info.plist how to merge Google with Facebook Configuration

0
170


i’ve configured this Info.plist for google and then facebook for signing in with social.
The problem when added facebook it works but google sign in not working. The console debugger it ‘Your app is missing support for the following URL schemes: com.googleusercontent.apps.************************’

Here is my configuration Info.plist file content:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>CFBundleURLTypes</key>
    <array>
        <dict>
            <key>CFBundleTypeRole</key>
            <string>Editor</string>
            <key>CFBundleURLSchemes</key>
            <array>
                <string>com.googleusercontent.apps.iqv7b8dve8v0b7fghkopccn3u4hm8f9m</string>
            </array>
        </dict>
    </array>
    <key>UIApplicationSceneManifest</key>
    <dict>
        <key>UIApplicationSupportsMultipleScenes</key>
        <false/>
        <key>UISceneConfigurations</key>
        <dict>
            <key>UIWindowSceneSessionRoleApplication</key>
            <array>
                <dict>
                    <key>UISceneConfigurationName</key>
                    <string>Default Configuration</string>
                    <key>UISceneDelegateClassName</key>
                    <string>$(PRODUCT_MODULE_NAME).SceneDelegate</string>
                    <key>UISceneStoryboardFile</key>
                    <string>Main</string>
                </dict>
            </array>
        </dict>
    </dict>
    <key>UIBackgroundModes</key>
    <array>
        <string>remote-notification</string>
    </array>
    <!-- facebook -->
    
    <key>CFBundleURLTypes</key>
    <array>
      <dict>
      <key>CFBundleURLSchemes</key>
      <array>
        <string>fb2782322791900603</string>
      </array>
      </dict>
    </array>
    <key>FacebookAppID</key>
    <string>2782322791900603</string>
    <key>FacebookClientToken</key>
    <string>7f6c18936246809def6f80fb82ee210e</string>
    <key>FacebookDisplayName</key>
    <string>Confcommercio Cosenza</string>
    <!--Per usare una delle finestre di dialogo di Facebook (ad es. Accedi, Condividi, inviti a installare l'app ecc.) che consentono di eseguire il passaggio di un'app alle app Facebook-->
    <key>LSApplicationQueriesSchemes</key>
    <array>
      <string>fbapi</string>
      <string>fb-messenger-share-api</string>
    </array>
</dict>
</plist>

Thanks for any appreciated help. I need for this morning please.