Closed minashawky closed 9 months ago
I have the same problem
I got the same problem. flutter_facebook_auth: 4.4.1+1
include SDK 13 and requires a client token (from Facebook app) in Info.plish
/AndroidManifest.xml
but there is no way to configure it in FlutterFlow. My only option is downgrade to version 3.x
I'm experiencing the same problem currently. Running it locally I can see that the first error that occurs is actually "10.18.0 - [FirebaseCore][I-COR000005] No app has been configured yet.", which would cause the Facebook configurations to not work also.
Has anybody had this same issue on a platform other than ios?
I got the same problem.
flutter_facebook_auth: 4.4.1+1
include SDK 13 and requires a client token (from Facebook app) inInfo.plish
/AndroidManifest.xml
but there is no way to configure it in FlutterFlow. My only option is downgrade to version 3.x
I tried adding the token to info.plist locally and it did indeed solve the problem. Hopefully there will be a solution for adding it from Flutterflow soon.
Hi @minashawky - This issue is related to package compatibility and specific configurations. It's considered an enhancement for the current design. We'll look into it for future updates, but there's no ETA at the moment. Thanks for your contributions. Thanks
Hi, we need additional details. I've looked at your project, but I couldn't find the Facebook login and the package version you mentioned above. Have you made changes to the auth config in your project?
it is necessary to push the code onto a git and add the FacebookClientToken parameter in info.plist for iOS. I have not yet tested on Android, but it should be the same.
@hariprasadms yes so actually as @michelflight mentioned. I don't even use Facebook auth on the app yet my workflow includes me pushing the code and deploying to testflight via github. This flutter_facebook_auth
package was added to the project and was updated recently to version 4.4.1+1 which is causing the issues.
I didn't try @michelflight suggestion to add the FacebookClientToken in the info.plist file but I downgraded the package to this and it worked:
flutter_facebook_auth:
git:
url: https://github.com/asmengistu/flutter-facebook-auth
ref: b65ffb049c9f1e2704adbeb1aa19c61693c946a5
path: facebook_auth
@hariprasadms pls look at my project too. (https://app.flutterflow.io/project/georgia-tennis-4hpmkx)
My Facebook App Name and Facebook App ID - are empty. And I dont use FB Auth. But I still got errors and cant compile my project.
And in community - I saw that several people has the same problem.
Link to FF community: https://community.flutterflow.io/ask-the-community/post/the-app-crashes-immediately-in-testflight-DlcuPUncN6ecBiL?highlight=vrYYS9mNU26h0be
@hariprasadms pls look at my project too. (https://app.flutterflow.io/project/georgia-tennis-4hpmkx)
My Facebook App Name and Facebook App ID - are empty. And I dont use FB Auth. But I still got errors and cant compile my project.
And in community - I saw that several people has the same problem.
Link to FF community: https://community.flutterflow.io/ask-the-community/post/the-app-crashes-immediately-in-testflight-DlcuPUncN6ecBiL?highlight=vrYYS9mNU26h0be
Hi @khomya - If you're seeing this message, it might be due to having a Facebook login as the authentication type in any of your pages' actions. Please check and make sure you don't have any actions tagged as FB auth actions.
I got the same problem.
flutter_facebook_auth: 4.4.1+1
include SDK 13 and requires a client token (from Facebook app) inInfo.plish
/AndroidManifest.xml
but there is no way to configure it in FlutterFlow. My only option is downgrade to version 3.xI tried adding the token to info.plist locally and it did indeed solve the problem. Hopefully there will be a solution for adding it from Flutterflow soon.
hello, I have the same error. Can you pass me the code you used to add the Client Token. thanks!
I got the same problem.
flutter_facebook_auth: 4.4.1+1
include SDK 13 and requires a client token (from Facebook app) inInfo.plish
/AndroidManifest.xml
but there is no way to configure it in FlutterFlow. My only option is downgrade to version 3.xI tried adding the token to info.plist locally and it did indeed solve the problem. Hopefully there will be a solution for adding it from Flutterflow soon.
hello, I have the same error. Can you pass me the code you used to add the Client Token. thanks!
This is the error log in Xcode. Doing this worked, but... not really a solution unless it is added into flutterflow.
I got the same problem.
flutter_facebook_auth: 4.4.1+1
include SDK 13 and requires a client token (from Facebook app) inInfo.plish
/AndroidManifest.xml
but there is no way to configure it in FlutterFlow. My only option is downgrade to version 3.xI tried adding the token to info.plist locally and it did indeed solve the problem. Hopefully there will be a solution for adding it from Flutterflow soon.
hello, I have the same error. Can you pass me the code you used to add the Client Token. thanks!
This is the error log in Xcode. Doing this worked, but... not really a solution unless it is added into flutterflow.
- Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘Starting with v13 of the SDK, a client token must be embedded in your client code before making Graph API calls. Visit [https://developers.facebook.com/apps/{appId}/settings/advanced/] to find your client token for this app. Add a key named FacebookClientToken to your Info.plist, and add your client token as its value. Visit https://developers.facebook.com/docs/ios/getting-started#configure-your-project for more information.’
thanks!!!
Add in info.plist
<key>FacebookClientToken</key>
<string>YOURCLIENTTOKEN</string>
You will find your client token in the Advanded Settings section in your facebook account developer
Hello again
Add in info.plist
<key>FacebookClientToken</key> <string>YOURCLIENTTOKEN</string>
You will find your client token in the Advanded Settings section in your facebook account developer
Hello again, I added the client token and the SDK, but the problem still there, what maybe I add wrong, but I putted in Info.plist. Can you help me? Thanks so much.
Hi all, thank you for the report. Crashing due to flutter_facebook_auth
should be fixed upon the next deploy.
Has your issue been reported?
Current Behavior
In the most resent update the pub package has
flutter_facebook_auth: 4.4.1+1
Which is causing all apps using it to crash on testflight
Expected Behavior
Expecting the app to open
Steps to Reproduce
Reproducible from Blank
Bug Report Code (Required)
IT48lfLl08pgoddY7ZDUb+9anjwsJjo7ROc41up+SQs8J5zKB+wAYvf7P1FWTLykTwhDMGCamTke/Pfqit7lGu4oOS+aGYRJ/852UAzwXn+6RbGYPqi/fW1SGfpYFVSx4aao2B1+COhfLGQt2HGLNu6XSh3bJ4DrDEgZJf2LKdeK2SrDX1iXc2URm05KZDPz
Context
Whenever I'm testing now a new update on Testflight the app doesn't launch and crash immediately before showing the splash screen. The report on Xcode shows the following:
FBSDKCoreKit: -[FBSDKGraphRequestConnection raiseExceptionIfMissingClientToken] + 384
Visual documentation
Whenever I'm testing now a new update on Testflight the app doesn't launch and crash immediately before showing the splash screen. The report on Xcode shows the following:
FBSDKCoreKit: -[FBSDKGraphRequestConnection raiseExceptionIfMissingClientToken] + 384
Additional Info
No response
Environment