Closed breahna-c closed 1 year ago
same problem here :(
Same here. We see hang logs in the Xcode's organizer. There seems to be a deadlock issue with thread 16 in the crash log provided in this issue's description.
A work around suggestion. https://github.com/facebook/facebook-ios-sdk/issues/2103#issuecomment-1431283024
我們也遇到相同問題,請問有解嗎?
主執行緒直接卡死
FBSDKCoreKit 16.0.1 FBSDKLoginKit 16.0.1 FBSDKShareKit 16.0.1
我們也遇到相同問題,請問有解嗎?
主執行緒直接卡死
FBSDKCoreKit 16.0.1 FBSDKLoginKit 16.0.1 FBSDKShareKit 16.0.1
hello, did you find anything on this? We are experiencing same issue now.
We finally resolved it using this method
replace FBSDKAppEventsDeviceInfo with our custom function encodedDeviceInfo.
We finally resolved it using this method
replace FBSDKAppEventsDeviceInfo with our custom function encodedDeviceInfo.
Hello @su855297 thanks for response.
I want to ask how do you imported FBSDKAppEventsDeviceInfo class?
It keeps giving me Use of undeclared identifier 'FBSDKAppEventsDeviceInfo'
try it.
Checklist before submitting a bug report
Xcode version
14.2
Facebook iOS SDK version
15.1.0
Dependency Manager
CocoaPods
SDK Framework
Core
Goals
To load Facebook ads within the app and the user to put the app in the background and get back in the foreground without crashing.
Expected results
SDK to not crash the app.
Actual results
SDK crashes when the app is in background for 2-5 minutes.
Steps to reproduce
We are using
FBAudienceNetwork (6.12.0)
to display ads within the app. The FBAudienceNetwork is installed as a dependency to AppLovinSDK andAppLovinMediationFacebookAdapter
which we are using to load ads.The crash happens randomly on other test devices, but more often on a user (iPhone 12 Pro, iOS 16.2). Can't say how many users are affected in the release because it is not logged to Firebase Crashlytics. We notice that It occurs while the app is in the background for 2-5 minutes.
This crash is not recorded by Firebase Crashlytics or Xcdore crash report, we noticed this when investigating crash logs the device which happens very often.
Code samples & details