Closed Spasfonx closed 2 years ago
It seems to be linked to this problem https://stackoverflow.com/questions/67765154/swiftui-facebook-sdk-app-id-not-found-add-a-string-value-with-your-app-id-for
@triniwiz having the same issue while migrating from Eddy's plugin that was using FB SDK 11.2 to this one (so the Info.plist
was already setup and working with the FB SDK). Even still I updated the Info.plist
to match the latest instructions.
Even with the latest instructions for the Info.plist
the issue is still here. Have you some workaround ? I'm pretty stucked 😞
@triniwiz just to see if this is related to the Facebook SDK, I tried to use the latest iOS SDK which is 12.1.0
which still gives the same error. Then I tried to downgrade to 11.2.1
and then I got what seems to be a somewhat more meaningful error message (if it is still relevant that is):
Error: As of v9.0, you must initialize the SDK prior to calling any methods or setting any properties. You can do this by calling
FBSDKApplicationDelegate
'sapplication:didFinishLaunchingWithOptions:
method. Learn more: https://developers.facebook.com/docs/ios/getting-startedIf noUIApplication
is available you can useFBSDKApplicationDelegate
'sinitializeSDK
method.
So looking at line 45 there is a wrapper method for applicationDidFinishLaunchingWithOptions
as part of the class FacebookAppDelegateImpl
, but it is never called. If I call FacebookAppDelegateImpl.sharedInstance.applicationDidFinishLaunchingWithOptions();
after line 222 then it seems to start working...
The issue
Hello,
On iOS, when I'm using the @nativescript/facebook plugin, I've this error message :
My configuration
I'm using Nativescript with angular.
By advance, thanks you !