-
Notifications
You must be signed in to change notification settings - Fork 511
App ID not found. Add a string value with your app ID for the key FacebookAppID to the Info.plist or call [FBSDKSettings setAppID:] #817
Comments
Same here... |
Could u provide a repo to reproduce the problem? Also double check that you opened the |
@peterpeterparker Yes I'm using the |
Cool happy to hear you resolved your issue 👍 |
Any chance to re-open this issue? I'm having the same problem and can't find any solutions. In my case I'm not using firebasex. Thanks |
Same error, without using cordova-plugin-firebasex. |
The problem seems to be caused by the fact that some params (FacebookAppID etc.) are not added to the appropriate plist file and not available when the app is running. For example, these must be present in <YOUR_APP_DIRECTORY>/platforms/ios/<APP_NAME>/<APP_NAME>-Info.plist The problem is that some cordova plugins (for example, cordova-plugin-facebook4, cordova-plugin-googleplus etc.) use config-file tag in plugin.xml to update your *-Info.plist file and due to the bug in cordova (see apache/cordova-common#88) those changes are applied to the wrong plist file and not working. The dirty and quick fix is to change the below line at 179 in <YOUR_APP_DIRECTORY>/node_modules/cordova-common/src/ConfigChanges/ConfigFile.js file from
to
For more details about the fix please see apache/cordova-common#88 (comment) IMPORTANT: it must be done before restoring/adding platforms and plugins or remove and restore platforms/plugins after this change is made. |
The file @ryaa refers to seems to changed a bit, there's no matching line nor variable names. What I did was in xCode, open info tab and add |
I get this error in an Ionic application when I call the login function. I've tried to remove and re-create the iOS platform but it doesn't solve the problem.
Cordova 9.0.0
Cordova-iOS 5.0.1
Plugin version 6.2.0
Here's my package.json cordova array
The text was updated successfully, but these errors were encountered: