Closed vytautas-pranskunas- closed 1 year ago
@vytautas-pranskunas- In your example the ios config is missing, your info.plist must have this
<key>FacebookAppID</key>
<string>{your-app-id}</string>
<key>FacebookClientToken</key>
<string>CLIENT-TOKEN</string>
<key>FacebookDisplayName</key>
<string>{your-app-name}</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>fbapi</string>
<string>fb-messenger-share-api</string>
</array>
I have i just did not paste it
I have i just did not paste it
try to run your project on xcode and paste the crash logs here
I will. Just a moment. I just mean that it was working before upgrading to latest flutter so i have everything in info.plist :)))
my crash log is empty. But it is not running on emulator... app opens and is closed immediatly and then it just keeps hanging forever receiving signt signal
my crash log is empty. But it is not running on emulator... app opens and is closed immediatly and then it just keeps hanging forever receiving signt signal
I mean run your project > open your console and when the app crashes you will see the crash logs
you mean this:
dyld[98746]: Library not loaded: @rpath/FBSDKCoreKit.framework/FBSDKCoreKit
Referenced from:
@vytautas-pranskunas- it seems duplicated https://github.com/darwin-morocho/flutter-facebook-auth/issues/326
Feel free to reopen the issue if you think that is not duplicated
hmm looks like.. should i try downgrading to 4.x.x? Or update cocopods to v1.12.0? Any ideas?
hmm looks like.. should i try downgrading to 4.x.x? Or update cocopods to v1.12.0? Any ideas?
try upgrading cocoapods
with: pod update flutter_facebook_auth
? If it so i have tried already - same result
I have downgraded to 4.4.1+1 and it looks like it works now.... any idea when initial bug will be fixed?
I have downgraded to 4.4.1+1 and it looks like it works now.... any idea when initial bug will be fixed?
this issue was introduced into the native facebook sdk 15.x for more info check https://github.com/facebook/facebook-ios-sdk/issues/2121
Cocoapods updating to 1.12 means uninstalling and re-installing cocoapods. Not a normal pod update.
Check with pod --version
that you have version 1.11 of cocoapods.
The last of these need to be run in flutter_app/ios/ folder, so run all of them there.
// uninstall cocoapods with:
sudo gem uninstall cocoapods
// possibly not necessary, but I did these as well (Looks like its removing some old cached pods data):
rm -rf ~/Library/Developer/Xcode/DerivedData/
rm -rf "${HOME}/Library/Caches/CocoaPods"
// Rest of these in folder flutter_app/ios/
rm -rf Pods
rm Podfile.lock
// re-install cocoapods
sudo gem install cocoapods
pod install --repo-update
// not sure if this final is even necessary. But it was in the example provided to me.
pod update
What version are you using?
flutter_facebook_auth : ^5.0.8
What OS and version are you using to local deploy your application?
macOS 13 ventura and for emulator IOS 16.2
What platforms are you seeing the problem on?
iOS
pubspec.yaml
Describe the Bug
After igrating to latest 3.7.8 i have experienced app crashes on launch. After investigation i came up upt to the point when this dependency is removed everything works fine If i add this to pubspec.yaml app is not starting
Expected Behavior
App should start
To Reproduce
https://github.com/vytautas-pranskunas-/flutter-facebook-auth
Relevant log output
No response
flutter doctor -v
Info.plist (iOS)
Podfile (iOS)
No response
AndroidManifest.xml
No response
MainActivity.java
No response
MainActivity.kt
No response
index.html
No response
Info.plist (macOS)
No response